[gnome-control-center] window: Use HdyLeaflet:transition-type



commit 3f20b9b572e604828031530fcd5a8f789707da90
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Mar 6 09:29:17 2020 +0100

    window: Use HdyLeaflet:transition-type
    
    Replace the dropped mode and child specific transition type properties
    by the unified one.

 shell/cc-window.ui | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/shell/cc-window.ui b/shell/cc-window.ui
index fb4c174e8d..f73afba798 100644
--- a/shell/cc-window.ui
+++ b/shell/cc-window.ui
@@ -13,8 +13,7 @@
       <object class="HdyLeaflet" id="main_leaflet">
         <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">slide</property>
         <signal name="notify::fold" handler="on_main_leaflet_fold_changed_cb" object="CcWindow" 
swapped="yes" />
         <child>
           <object class="GtkBox" id="sidebar_box">
@@ -111,10 +110,9 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="orientation">horizontal</property>
-            <property name="mode-transition-type" bind-source="main_leaflet" 
bind-property="mode-transition-type" bind-flags="bidirectional|sync-create"/>
             <property name="mode-transition-duration" bind-source="main_leaflet" 
bind-property="mode-transition-duration" bind-flags="bidirectional|sync-create"/>
-            <property name="child-transition-type" bind-source="main_leaflet" 
bind-property="child-transition-type" bind-flags="bidirectional|sync-create"/>
             <property name="child-transition-duration" bind-source="main_leaflet" 
bind-property="child-transition-duration" bind-flags="bidirectional|sync-create"/>
+            <property name="transition-type" bind-source="main_leaflet" bind-property="transition-type" 
bind-flags="bidirectional|sync-create"/>
             <signal name="notify::visible-child" handler="notify_header_visible_child_cb" swapped="yes"/>
             <signal name="notify::fold" handler="notify_fold_cb" object="CcWindow" after="yes" 
swapped="yes"/>
             <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]