[gnome-calendar] window: update setting when the view changes



commit eb436f57db5cc69bdaffd8b814725fbe4f8598dc
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Thu Oct 23 11:17:16 2014 -0400

    window: update setting when the view changes
    
    Note: Eventually I ended reverting the changes I have made here a few
    commits back.

 src/gcal-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 95a12f5..d299583 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -461,6 +461,8 @@ view_changed (GObject    *object,
   g_type_class_unref (eklass);
 
   priv->active_view = view_type;
+  g_object_notify (G_OBJECT (user_data), "active-view");
+
   update_view (GCAL_WINDOW (user_data));
 }
 


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