aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2006-03-22 17:34:27 +0800
committerHarry Lu <haip@src.gnome.org>2006-03-22 17:34:27 +0800
commit95269a8327a4699ad46c69f8ff117b39e77a600f (patch)
treec6c5ecde134c66c0adafd554d0f14d8e7ebbea6f
parentd76b7a7730e072f36671eca70f2ddcc7ce83d309 (diff)
downloadgsoc2013-evolution-95269a8327a4699ad46c69f8ff117b39e77a600f.tar.gz
gsoc2013-evolution-95269a8327a4699ad46c69f8ff117b39e77a600f.tar.zst
gsoc2013-evolution-95269a8327a4699ad46c69f8ff117b39e77a600f.zip
Fix for 333706
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. svn path=/trunk/; revision=31733
-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);