[gnome-characters/wip/exalm/appmenu] menu: Use GtkModelButton for About item
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/wip/exalm/appmenu] menu: Use GtkModelButton for About item
- Date: Sun, 21 Oct 2018 13:28:18 +0000 (UTC)
commit b760efca1e1dd475cd86bec9aa0ac7007417fe8a
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 | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/data/menu.ui b/data/menu.ui
index 8955ece..f56f7ac 100644
--- a/data/menu.ui
+++ b/data/menu.ui
@@ -47,21 +47,15 @@
</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="true">About Characters</property>
- </object>
- </child>
+ <property name="text" translatable="true">About Characters</property>
</object>
</child>
</object>
</child>
</template>
</interface>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]