aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 32a59efe37..fd3bfd86d4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-03-07 Harry Lu <harry.lu@sun.com>
+
+ Fix for 333706
+
+ * gui/dialogs/alarm-dialog.c: (alarm_to_dalarm_widgets): call
+ set_text only when description.value is not NULL.
+
2006-03-20 Boby Wang <boby.wang@sun.com>
** Fix for bug #268584
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index 7b965c230c..3224d4a3d3 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -362,7 +362,7 @@ alarm_to_dalarm_widgets (Dialog *dialog, ECalComponentAlarm *alarm )
e_cal_component_alarm_get_description (alarm, &description);
- if (!description.value) {
+ if (description.value) {
e_dialog_toggle_set (dialog->dalarm_message, TRUE);
text_buffer = gtk_text_view_get_buffer (dialog->dalarm_description);
gtk_text_buffer_set_text (text_buffer, description.value, -1);