[gnome-todo] sidebar: Minor tweaks



commit c870651a669a0a5c963b843dea4c971a206bd724
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Jun 9 11:45:47 2019 -0300

    sidebar: Minor tweaks

 src/sidebar/gtd-sidebar.ui | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/sidebar/gtd-sidebar.ui b/src/sidebar/gtd-sidebar.ui
index 7fa1523..70bc2cc 100644
--- a/src/sidebar/gtd-sidebar.ui
+++ b/src/sidebar/gtd-sidebar.ui
@@ -2,6 +2,10 @@
 <interface>
   <template class="GtdSidebar" parent="GtkBox">
     <property name="hexpand">0</property>
+    <style>
+      <class name="sidebar"/>
+    </style>
+
     <child>
       <object class="GtkScrolledWindow">
         <property name="can_focus">1</property>
@@ -10,6 +14,8 @@
         <child>
           <object class="GtkStack" id="stack">
             <property name="expand">1</property>
+            <property name="homogeneous">true</property>
+            <property name="transition-type">slide-left-right</property>
 
             <!-- Main Listbox -->
             <child>
@@ -20,9 +26,6 @@
                     <property name="expand">1</property>
                     <property name="selection_mode">browse</property>
                     <signal name="row-activated" handler="on_listbox_row_activated_cb" object="GtdSidebar" 
swapped="no"/>
-                    <style>
-                      <class name="sidebar"/>
-                    </style>
 
                     <!-- Archive row -->
                     <child>
@@ -76,9 +79,6 @@
                     <property name="expand">1</property>
                     <property name="selection_mode">browse</property>
                     <signal name="row-activated" handler="on_listbox_row_activated_cb" object="GtdSidebar" 
swapped="no"/>
-                    <style>
-                      <class name="sidebar"/>
-                    </style>
                   </object>
                 </property>
               </object>


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