summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-05-02 21:25:24 +0200
committerAlberto Fanjul <albertofanjul@gmail.com>2019-11-06 12:39:07 +0000
commitd9a8f3ffc8255c0ce87e42c6d14f21d543f54092 (patch)
tree80162b567526650e453f6ac2b702e9bdbbf5688d
parent44b197fd4496752b0503da39b1ca51db3a5c7c03 (diff)
downloadglade-tintou/no-gtk-missing-image.tar.gz
Remove gtk-missing-image usage and update some stock icon namestintou/no-gtk-missing-image
-rw-r--r--gladeui/glade-builtins.c14
-rw-r--r--gladeui/glade-editor.ui2
-rw-r--r--plugins/gtk+/gtk+.xml2
3 files changed, 9 insertions, 9 deletions
diff --git a/gladeui/glade-builtins.c b/gladeui/glade-builtins.c
index a5edbee1..cc4cc90f 100644
--- a/gladeui/glade-builtins.c
+++ b/gladeui/glade-builtins.c
@@ -57,13 +57,13 @@ typedef struct _GladeStockItem
/* Hard-coded list of stock images (and displayable translations) from gtk+ that are not stock "items" */
static const gchar *builtin_stock_images[] = {
- "gtk-dialog-authentication", /* GTK_STOCK_DIALOG_AUTHENTICATION */
- "gtk-dnd", /* GTK_STOCK_DND */
- "gtk-dnd-multiple", /* GTK_STOCK_DND_MULTIPLE */
- "gtk-color-picker", /* GTK_STOCK_COLOR_PICKER */
- "gtk-directory", /* GTK_STOCK_DIRECTORY */
- "gtk-file", /* GTK_STOCK_FILE */
- "gtk-missing-image" /* GTK_STOCK_MISSING_IMAGE */
+ "dialog-password", /* GTK_STOCK_DIALOG_AUTHENTICATION */
+ "gtk-dnd", /* GTK_STOCK_DND */
+ "gtk-dnd-multiple", /* GTK_STOCK_DND_MULTIPLE */
+ "gtk-color-picker", /* GTK_STOCK_COLOR_PICKER */
+ "folder", /* GTK_STOCK_DIRECTORY */
+ "text-x-generic", /* GTK_STOCK_FILE */
+ "image-missing" /* GTK_STOCK_MISSING_IMAGE */
};
static const gchar *builtin_stock_displayables[] = {
diff --git a/gladeui/glade-editor.ui b/gladeui/glade-editor.ui
index 5cd26192..26d1a8af 100644
--- a/gladeui/glade-editor.ui
+++ b/gladeui/glade-editor.ui
@@ -50,7 +50,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<object class="GtkImage" id="class_icon">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="stock">gtk-missing-image</property>
+ <property name="stock">image-missing</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index baee064b..9b519f82 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -2279,7 +2279,7 @@
<type>GParamInt</type>
</parameter-spec>
</property>
- <property id="stock" stock-icon="True" custom-layout="True" default="gtk-missing-image" deprecated="True"/>
+ <property id="stock" stock-icon="True" custom-layout="True" default="image-missing" deprecated="True"/>
<property id="icon-name" name="Icon Name" themed-icon="True" custom-layout="True" />
<property id="use-fallback" custom-layout="True"/>
<property id="pixbuf" name="File Name" custom-layout="True"/>