evolution r36628 - in branches/gnome-2-24/calendar: . gui
- From: abharath svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36628 - in branches/gnome-2-24/calendar: . gui
- Date: Fri, 17 Oct 2008 05:03:49 +0000 (UTC)
Author: abharath
Date: Fri Oct 17 05:03:48 2008
New Revision: 36628
URL: http://svn.gnome.org/viewvc/evolution?rev=36628&view=rev
Log:
2008-10-17 Milan Crha <mcrha redhat com>
** Fix for bug #553609
* gui/e-week-view.c: (e_week_view_set_selected_time_range):
Do not do any changes when the view has not been shown yet.
Modified:
branches/gnome-2-24/calendar/ChangeLog
branches/gnome-2-24/calendar/gui/e-week-view.c
Modified: branches/gnome-2-24/calendar/gui/e-week-view.c
==============================================================================
--- branches/gnome-2-24/calendar/gui/e-week-view.c (original)
+++ branches/gnome-2-24/calendar/gui/e-week-view.c Fri Oct 17 05:03:48 2008
@@ -1403,6 +1403,11 @@
g_return_if_fail (E_IS_WEEK_VIEW (week_view));
+ if (!g_date_valid (&week_view->base_date)) {
+ /* This view has not been initialized/shown yet, thus skip this. */
+ return;
+ }
+
time_to_gdate_with_zone (&date, start_time, e_calendar_view_get_timezone (E_CALENDAR_VIEW (week_view)));
/* Set the selection to the given days. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]