diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-09 08:04:08 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-09 08:04:08 +0800 |
commit | a9b1af2b26c0be96173149078b4e98b2b1d3aac2 (patch) | |
tree | 457f1242ed55d2503a3e8cca55c35e597fa0bd2d /calendar/gui/year-view.c | |
parent | ca6dd05c600cfbaf6c9b16059b2377932463ea0d (diff) | |
download | gsoc2013-evolution-a9b1af2b26c0be96173149078b4e98b2b1d3aac2.tar.gz gsoc2013-evolution-a9b1af2b26c0be96173149078b4e98b2b1d3aac2.tar.zst gsoc2013-evolution-a9b1af2b26c0be96173149078b4e98b2b1d3aac2.zip |
1. Fix: `New Appointment' defaults to the current day. 2. Add `New
1. Fix: `New Appointment' defaults to the current day.
2. Add `New appointment today' entry.
3. Use the new freeze/thaw changes to avoid the extensive flicker.
Miguel.
svn path=/trunk/; revision=209
Diffstat (limited to 'calendar/gui/year-view.c')
-rw-r--r-- | calendar/gui/year-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/year-view.c b/calendar/gui/year-view.c index d28130bb6f..bc03b4f36e 100644 --- a/calendar/gui/year-view.c +++ b/calendar/gui/year-view.c @@ -198,8 +198,9 @@ gncal_year_view_set_year (GncalYearView *yview, int year) snprintf(buff, 20, "%d", yview->year + 1900); gtk_label_set(GTK_LABEL(yview->year_label), buff); - + for (i = 0; i < 12; i++) { + gtk_calendar_freeze (GTK_CALENDAR (yview->calendar [i])); gtk_calendar_select_month (GTK_CALENDAR(yview->calendar[i]), i, yview->year + 1900); gtk_calendar_clear_marks (GTK_CALENDAR (yview->calendar[i])); } @@ -213,6 +214,9 @@ gncal_year_view_set_year (GncalYearView *yview, int year) year_view_mark_day (co->ico, co->ev_start, co->ev_end, yview); } + for (i = 0; i < 12; i++) + gtk_calendar_thaw (GTK_CALENDAR (yview->calendar [i])); + calendar_destroy_event_list (l); } |