Add hamburger menu to sidebar header, move Add Project and Import buttons into it
This commit is contained in:
parent
28c06463cf
commit
2c432a1a37
@ -53,24 +53,47 @@
|
||||
<property name="side">start</property>
|
||||
</object>
|
||||
</child>
|
||||
<child type="end">
|
||||
<object class="GtkButton" id="add_project_button">
|
||||
<property name="icon-name">list-add-symbolic</property>
|
||||
<property name="tooltip-text">Add Project</property>
|
||||
<signal name="clicked" handler="on_add_project_clicked"/>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child type="end">
|
||||
<object class="GtkMenuButton" id="import_menu_button">
|
||||
<property name="icon-name">papyrus-vertical-symbolic</property>
|
||||
<property name="tooltip-text">Import</property>
|
||||
<property name="menu-model">import_menu</property>
|
||||
<child type="start">
|
||||
<object class="GtkMenuButton" id="sidebar_hamburger_button">
|
||||
<property name="icon-name">open-menu-symbolic</property>
|
||||
<property name="tooltip-text">Menu</property>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
<property name="popover">
|
||||
<object class="GtkPopover">
|
||||
<property name="child">
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<property name="margin-top">4</property>
|
||||
<property name="margin-bottom">4</property>
|
||||
<property name="margin-start">4</property>
|
||||
<property name="margin-end">4</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="add_project_button">
|
||||
<property name="label">Add Project</property>
|
||||
<property name="tooltip-text">Add Project</property>
|
||||
<signal name="clicked" handler="on_add_project_clicked"/>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuButton" id="import_menu_button">
|
||||
<property name="label">Import</property>
|
||||
<property name="tooltip-text">Import</property>
|
||||
<property name="menu-model">import_menu</property>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user