diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-30 06:19:39 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-30 06:19:39 +0800 |
commit | 5c1c9710338cb7f3b29ed1eac1006bb95f39c048 (patch) | |
tree | dacbe29633e17a82ac619ea4c0a2fd67a650d56d /calendar/gncal-week-view.c | |
parent | b14e3c892ce8feac4e72ab80800fb7b6e0408002 (diff) | |
download | gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar.gz gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar.bz2 gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar.lz gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar.xz gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.tar.zst gsoc2013-evolution-5c1c9710338cb7f3b29ed1eac1006bb95f39c048.zip |
Various fixes and optimizations; Tagging of the days with appointements.
Various fixes and optimizations; Tagging of the days with
appointements. the 1969 bug is gone. Really.
Miguel.
svn path=/trunk/; revision=201
Diffstat (limited to 'calendar/gncal-week-view.c')
-rw-r--r-- | calendar/gncal-week-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c index 2a389f5fe5..0e280163d9 100644 --- a/calendar/gncal-week-view.c +++ b/calendar/gncal-week-view.c @@ -6,6 +6,7 @@ * Miguel de Icaza <miguel@kernel.org> */ +#include <config.h> #include <string.h> #include "gncal-week-view.h" #include "timeutil.h" @@ -82,6 +83,7 @@ static void sync_week (GtkCalendar *cal, GncalWeekView *wview) { jump_to_day (cal, wview, wview->start_of_week.tm_mday + 7); + gnome_calendar_tag_calendar (wview->calendar, wview->gtk_calendar); } static void @@ -132,7 +134,7 @@ gncal_week_view_new (GnomeCalendar *calendar, time_t start_of_week) wview->gtk_calendar = GTK_CALENDAR (gtk_calendar_new ()); gtk_signal_connect (GTK_OBJECT (wview->gtk_calendar), "day_selected_double_click", - GTK_SIGNAL_FUNC(jump_to_day), wview); + GTK_SIGNAL_FUNC(jump_to_day_click), wview); gtk_signal_connect (GTK_OBJECT (wview->gtk_calendar), "month_changed", GTK_SIGNAL_FUNC(sync_week), wview); |