[gnome-characters/wip/exalm/appmenu: 2/2] menu: Use GtkModelButton for About item



commit e994b854596ee6bfcb5f9e4cd89fd77a3ce53fac
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Oct 21 18:27:43 2018 +0500

    menu: Use GtkModelButton for About item
    
    This way it looks like a regular menu item.

 data/menu.ui | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/data/menu.ui b/data/menu.ui
index 65a4215..109dbdd 100644
--- a/data/menu.ui
+++ b/data/menu.ui
@@ -47,18 +47,11 @@
          </object>
        </child>
        <child>
-         <object class="GtkButton">
+         <object class="GtkModelButton">
            <property name="visible">True</property>
-           <property name="halign">start</property>
            <property name="can_focus">False</property>
-           <property name="relief">none</property>
            <property name="action_name">win.about</property>
-           <child>
-             <object class="GtkLabel">
-               <property name="visible">True</property>
-               <property name="label" translatable="yes">About Characters</property>
-             </object>
-           </child>
+           <property name="text" translatable="yes">About Characters</property>
          </object>
        </child>
       </object>


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