diff options
author | Markus Göllnitz <camelcasenick@bewares.it> | 2023-02-07 15:08:43 +0100 |
---|---|---|
committer | Markus Göllnitz <camelcasenick@bewares.it> | 2023-02-11 15:50:42 +0100 |
commit | 870c52aead7afd032be4c3129bc18d976eb28e06 (patch) | |
tree | 79414de067b9ceaffe5e6b5a1b726a5dd07db0d8 | |
parent | 2a865e269ff1eb35774a36be65817e1d53112327 (diff) | |
download | gnome-contacts-870c52aead7afd032be4c3129bc18d976eb28e06.tar.gz |
hide start title buttons in expanded leaflet state
As the start title buttons are only supposed to be visible in the left-most header bar,
just as the end title buttons are in the right-most, every (i.e. the) other header bar has to not include them.
Here it depends on the leaflet foldedness state of the content box if there are two header bars,
so the title button property needs to be bound to this flag.
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
-rw-r--r-- | data/ui/contacts-main-window.ui | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/ui/contacts-main-window.ui b/data/ui/contacts-main-window.ui index 7682ebf..28018a1 100644 --- a/data/ui/contacts-main-window.ui +++ b/data/ui/contacts-main-window.ui @@ -232,6 +232,8 @@ <child> <object class="AdwHeaderBar" id="right_header"> <property name="hexpand">True</property> + <property name="show-start-title-buttons" bind-source="content_box" bind-property="folded" bind-flags="sync-create"/> + <child> <object class="GtkRevealer" id="back_revealer"> <property name="transition-type">slide-right</property> |