aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 87d7c7fefd..8499f32327 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-21 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #346549
+ * gui/dialogs/task-details-page.c (priority_index_to_value):
+ set the priority to undefined if its value does not match the cases.
+ Removed the assertion so that we don't quit.
+
2006-08-21 Srinivasa Ragavan <sragavan@novell.com>
* gui/cal-search-bar.c: (string_without_underscores),
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index aa3b26abef..a3fc8a2152 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -237,8 +237,7 @@ priority_index_to_value (TaskEditorPriority priority)
retval = 7;
break;
default:
- retval = -1;
- g_assert_not_reached ();
+ retval = 0;
break;
}