[gnome-todo/wip/sadiq/fixes] window: Simplify setting menu button label
- From: Mohammed Sadiq <pksadiq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/sadiq/fixes] window: Simplify setting menu button label
- Date: Wed, 12 Dec 2018 02:07:41 +0000 (UTC)
commit f1c7ccef259c5e51039afdb0441c393d16a25723
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Dec 12 07:36:30 2018 +0530
window: Simplify setting menu button label
src/gtd-window.ui | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/gtd-window.ui b/src/gtd-window.ui
index 31b8872..b55d41d 100644
--- a/src/gtd-window.ui
+++ b/src/gtd-window.ui
@@ -60,16 +60,11 @@
<child>
<object class="GtkMenuButton">
<property name="can_focus">True</property>
+ <property name="label" translatable="yes">_New List</property>
+ <property name="use-underline">True</property>
<property name="receives_default">True</property>
<property name="popover">new_list_popover</property>
<property name="halign">start</property>
- <child>
- <object class="GtkLabel">
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">_New List</property>
- <property name="use_underline">True</property>
- </object>
- </child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]