[libepc/gtk4: 11/13] example: Replace deprecated stock-id



commit 1d64a225a2874a11f85f08c4a2734c60a8d62b71
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Nov 18 09:39:18 2016 +0100

    example: Replace deprecated stock-id

 examples/publisher.ui |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/examples/publisher.ui b/examples/publisher.ui
index 3849e6a..f1f54bc 100644
--- a/examples/publisher.ui
+++ b/examples/publisher.ui
@@ -19,7 +19,7 @@
                 <property name="visible">True</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                 <property name="is_important">True</property>
-                <property name="stock_id">gtk-add</property>
+                <property name="icon_name">list-add</property>
                 <signal handler="add_item_clicked_cb" name="clicked"/>
               </object>
               <packing>
@@ -31,7 +31,7 @@
                 <property name="visible">True</property>
                 <property name="sensitive">False</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
-                <property name="stock_id">gtk-remove</property>
+                <property name="icon_name">list-remove</property>
                 <signal handler="remove_item_clicked_cb" name="clicked"/>
               </object>
               <packing>
@@ -52,7 +52,7 @@
                 <property name="visible">True</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                 <property name="label" translatable="yes">Publish</property>
-                <property name="stock_id">gtk-execute</property>
+                <property name="icon_name">system-run</property>
                 <signal handler="publish_state_toggled_cb" name="toggled"/>
               </object>
               <packing>
@@ -64,7 +64,7 @@
                 <property name="visible">True</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                 <property name="label" translatable="yes">Encryption</property>
-                <property name="stock_id">gtk-dialog-authentication</property>
+                <property name="icon_name">dialog-password</property>
                 <signal handler="encryption_state_toggled_cb" name="toggled"/>
               </object>
               <packing>
@@ -119,7 +119,7 @@
               <object class="GtkToolButton" id="about-button">
                 <property name="visible">True</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
-                <property name="stock_id">gtk-about</property>
+                <property name="icon_name">help-about</property>
                 <signal handler="about_button_clicked_cb" name="clicked"/>
               </object>
               <packing>


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