[libadwaita/wip/exalm/demo] demo: Use a new window button isntead of menu for tab view
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/demo] demo: Use a new window button isntead of menu for tab view
- Date: Wed, 13 Oct 2021 11:46:33 +0000 (UTC)
commit 880aab68c3790ba70a75f7076a6884d46a047aab
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Oct 13 16:46:33 2021 +0500
demo: Use a new window button isntead of menu for tab view
demo/adw-tab-view-demo-window.ui | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/demo/adw-tab-view-demo-window.ui b/demo/adw-tab-view-demo-window.ui
index 1da1777a..5e4b5354 100644
--- a/demo/adw-tab-view-demo-window.ui
+++ b/demo/adw-tab-view-demo-window.ui
@@ -18,9 +18,9 @@
</object>
</child>
<child type="end">
- <object class="GtkMenuButton">
- <property name="menu-model">primary_menu</property>
- <property name="icon-name">open-menu-symbolic</property>
+ <object class="GtkButton">
+ <property name="action-name">win.window-new</property>
+ <property name="icon-name">window-new-symbolic</property>
</object>
</child>
</object>
@@ -45,14 +45,6 @@
</object>
</child>
</template>
- <menu id="primary_menu">
- <section>
- <item>
- <attribute name="label" translatable="yes">_New Window</attribute>
- <attribute name="action">win.window-new</attribute>
- </item>
- </section>
- </menu>
<menu id="tab_menu">
<section>
<item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]