[gnome-contacts] window: Use the "over" leaflet transition
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] window: Use the "over" leaflet transition
- Date: Sun, 15 Dec 2019 21:19:47 +0000 (UTC)
commit 116213333d8011931ae61c9b5fa105271550f657
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Dec 10 13:06:26 2019 +0100
window: Use the "over" leaflet transition
This better conveys the hierarchy of the panels, with the nice bonus of
looking better.
data/ui/contacts-window.ui | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/contacts-window.ui b/data/ui/contacts-window.ui
index 6d7c98a..73c4a8e 100644
--- a/data/ui/contacts-window.ui
+++ b/data/ui/contacts-window.ui
@@ -109,10 +109,9 @@
<object class="HdyLeaflet" id="header">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="mode-transition-type" bind-source="content_box"
bind-property="mode-transition-type" bind-flags="bidirectional|sync-create"/>
<property name="mode-transition-duration" bind-source="content_box"
bind-property="mode-transition-duration" bind-flags="bidirectional|sync-create"/>
- <property name="child-transition-type" bind-source="content_box"
bind-property="child-transition-type" bind-flags="bidirectional|sync-create"/>
<property name="child-transition-duration" bind-source="content_box"
bind-property="child-transition-duration" bind-flags="bidirectional|sync-create"/>
+ <property name="transition-type" bind-source="content_box" bind-property="transition-type"
bind-flags="bidirectional|sync-create"/>
<property name="visible-child-name" bind-source="content_box" bind-property="visible-child-name"
bind-flags="bidirectional|sync-create"/>
<child>
<object class="GtkHeaderBar" id="left_header">
@@ -317,8 +316,7 @@
<object class="HdyLeaflet" id="content_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="mode-transition-type">slide</property>
- <property name="child-transition-type">slide</property>
+ <property name="transition-type">over</property>
<signal name="notify::fold" handler="on_fold" object="ContactsWindow" after="yes" swapped="no"/>
<signal name="notify::child-transition-running" handler="on_child_transition_running"
object="ContactsWindow" after="yes" swapped="no"/>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]