[fractal/multi-account: 4/9] Make gap at the start of the headerbar to add account switcher button
- From: Alejandro Domínguez <aledomu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/multi-account: 4/9] Make gap at the start of the headerbar to add account switcher button
- Date: Tue, 24 Aug 2021 20:05:58 +0000 (UTC)
commit 40e1fc17e04ff97adb2223b71a9e49b43de539a4
Author: Alejandro Domínguez <adomu net-c com>
Date: Mon Jun 14 20:16:07 2021 +0200
Make gap at the start of the headerbar to add account switcher button
data/resources/ui/sidebar.ui | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/data/resources/ui/sidebar.ui b/data/resources/ui/sidebar.ui
index c56907c3..5de728b5 100644
--- a/data/resources/ui/sidebar.ui
+++ b/data/resources/ui/sidebar.ui
@@ -25,20 +25,23 @@
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar" id="headerbar">
+ <property name="title-widget">
+ <object class="AdwWindowTitle"></object>
+ </property>
<property name="show-end-title-buttons" bind-source="Sidebar" bind-property="compact"
bind-flags="sync-create"/>
- <child type="start">
- <object class="GtkToggleButton" id="search_button">
- <property name="icon-name">system-search-symbolic</property>
- <property name="active" bind-source="room_search" bind-property="search-mode-enabled"
bind-flags="sync-create"/>
- <property name="action-name">win.toggle-room-search</property>
- </object>
- </child>
<child type="end">
<object class="GtkMenuButton" id="appmenu_button">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">primary_menu</property>
</object>
</child>
+ <child type="end">
+ <object class="GtkToggleButton" id="search_button">
+ <property name="icon-name">system-search-symbolic</property>
+ <property name="active" bind-source="room_search" bind-property="search-mode-enabled"
bind-flags="sync-create"/>
+ <property name="action-name">win.toggle-room-search</property>
+ </object>
+ </child>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]