[Xfce4-commits] <xfce4-panel:master> Clock: fixed the month in the calendar popup.
Andrzej
noreply at xfce.org
Sun Mar 3 12:02:04 CET 2013
Updating branch refs/heads/master
to 27ce25acc51153f3f8d3c70fb1018b9b1ad14e8a (commit)
from d9c3b0763fe46f164acd9f445c18a3eae262a91a (commit)
commit 27ce25acc51153f3f8d3c70fb1018b9b1ad14e8a
Author: Andrzej <ndrwrdck at gmail.com>
Date: Sun Feb 24 00:35:47 2013 +0000
Clock: fixed the month in the calendar popup.
plugins/clock/clock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index da54b8b..6ebc791 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -934,7 +934,7 @@ clock_plugin_calendar_show_event (GtkWidget *calendar_window,
clock_plugin_reposition_calendar (plugin);
time = clock_time_get_time (plugin->time);
- gtk_calendar_select_month (GTK_CALENDAR (plugin->calendar), g_date_time_get_month (time),
+ gtk_calendar_select_month (GTK_CALENDAR (plugin->calendar), g_date_time_get_month (time) - 1,
g_date_time_get_year (time));
gtk_calendar_select_day (GTK_CALENDAR (plugin->calendar), g_date_time_get_day_of_month (time));
g_date_time_unref (time);
More information about the Xfce4-commits
mailing list