[gnome-calendar] window: set timezone of date when moving to today
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: set timezone of date when moving to today
- Date: Thu, 4 Dec 2014 22:42:44 +0000 (UTC)
commit 3b9f2aa1283ec1908082ad55919236c35d4aa8da
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]