[polari/wip/fmuellner/combined-gsoc: 119/137] add the bind in order for the 'last active' time to update every time the popover is opened. That is



commit 4fec02b0ecd2d376dc626389133fa0b700d2ed6e
Author: raresv <rares visalom gmail com>
Date:   Mon Jul 25 13:48:47 2016 +0300

    add the bind in order for the 'last active' time to update every time the popover is opened. That is the 
reason for the binding. If the expanded property is always set to true, then the time won't get updated

 data/resources/user-popover.ui |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/resources/user-popover.ui b/data/resources/user-popover.ui
index 58fd440..8baed46 100644
--- a/data/resources/user-popover.ui
+++ b/data/resources/user-popover.ui
@@ -62,10 +62,12 @@
         <child>
           <object class="Gjs_UserDetails" id="userDetails">
             <property name="visible">True</property>
-            <property name="expanded">True</property>
             <property name="notifications-enabled" bind-source="notifyButton"
                       bind-property="active"
                       bind-flags="sync-create"/>
+            <property name="expanded" bind-source="Gjs_UserPopover"
+                      bind-property="visible"
+                      bind-flags="sync-create"/>
           </object>
         </child>
       </object>


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