[evolution-patches] Fix for calendar bug 333706



Hi,
	Please review the attached patch for:
http://bugzilla.gnome.org/show_bug.cgi?id=333706

	Thanks!
		Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.3011
diff -u -p -r1.3011 ChangeLog
--- ChangeLog	6 Mar 2006 15:58:53 -0000	1.3011
+++ ChangeLog	7 Mar 2006 07:49:57 -0000
@@ -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-06  Veerapuram Varadhan  <vvaradhan novell com>
 
 	**Fixes #321832
Index: gui/dialogs/alarm-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/alarm-dialog.c,v
retrieving revision 1.15
diff -u -p -r1.15 alarm-dialog.c
--- gui/dialogs/alarm-dialog.c	9 Feb 2006 15:04:56 -0000	1.15
+++ gui/dialogs/alarm-dialog.c	7 Mar 2006 07:49:58 -0000
@@ -362,7 +362,7 @@ alarm_to_dalarm_widgets (Dialog *dialog,
 
 	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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]