[fractal/multi-account: 2/4] 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: 2/4] Make gap at the start of the headerbar to add account switcher button
- Date: Fri, 23 Jul 2021 16:44:40 +0000 (UTC)
commit 81af40341a46f18738e1b071d656c8044c15b3c7
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]