[gnome-calendar/ui-rewrite] window: set timezone of date when moving to today



commit 231b9149a35b0f813d283f8fa01ab7d82cc51a73
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Fri Nov 7 20:34:45 2014 -0500

    window: set timezone of date when moving to today

 src/gcal-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 68fced3..b4e4678 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -272,6 +272,10 @@ date_updated (GtkButton  *button,
       *(priv->active_date) =
         icaltime_current_time_with_zone (
             gcal_manager_get_system_timezone (priv->manager));
+      *(priv->active_date) =
+        icaltime_set_timezone (
+            priv->active_date,
+            gcal_manager_get_system_timezone (priv->manager));
     }
   else
     {


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