[glade/tintou/no-gtk-missing-image: 2/2] Remove gtk-missing-image usage and update some stock icon names



commit 5cf1ed54820bf5023be5ca2a328be5a9b1360d43
Author: Corentin Noël <corentin elementary io>
Date:   Thu May 2 21:25:24 2019 +0200

    Remove gtk-missing-image usage and update some stock icon names

 gladeui/glade-builtins.c | 14 +++++++-------
 gladeui/glade-editor.ui  |  2 +-
 plugins/gtk+/gtk+.xml    |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gladeui/glade-builtins.c b/gladeui/glade-builtins.c
index 74721dd7..cb4f3b32 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 8add4b5b..cde44764 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -2271,7 +2271,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"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]