evolution r34801 - in trunk/calendar: . gui
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34801 - in trunk/calendar: . gui
- Date: Fri, 11 Jan 2008 16:38:00 +0000 (GMT)
Author: sragavan
Date: Fri Jan 11 16:38:00 2008
New Revision: 34801
URL: http://svn.gnome.org/viewvc/evolution?rev=34801&view=rev
Log:
2008-01-11 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #508731
* gui/e-calendar-view.c: (e_calendar_view_new_appointment_full):
Have a safe default, if the values from gconf isn't so nice.
Modified:
trunk/calendar/ChangeLog
trunk/calendar/gui/e-calendar-view.c
Modified: trunk/calendar/gui/e-calendar-view.c
==============================================================================
--- trunk/calendar/gui/e-calendar-view.c (original)
+++ trunk/calendar/gui/e-calendar-view.c Fri Jan 11 16:38:00 2008
@@ -1923,6 +1923,9 @@
int time_div = calendar_config_get_time_divisions ();
int hours, mins;
+ if (!time_div) /* Possible if your gconf values aren't so nice */
+ time_div = 30;
+
if (time_day_begin (now) == time_day_begin (dtstart)) {
/* same day as today */
hours = local.tm_hour;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]