[Calendar] Fix for #330272

Johnny Jacob <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi

Patch for 330272
Please review.

Thanks
Johnny

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
cmsg-330272.diff (text/x-patch, 1.3 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2990
diff -u -p -r1.2990 ChangeLog
--- ChangeLog	12 Feb 2006 04:43:02 -0000	1.2990
+++ ChangeLog	12 Feb 2006 15:58:56 -0000
@@ -1,3 +1,9 @@
+2006-02-12  Johnny Jacob  <[email protected]>
+
+	Fixes #330272
+	* gui/dialogs/alarm-dialog.c (alarm_to_dalarm_widgets):
+	if description present update the widgets.
+	
 2006-02-12  Andre Klapper  <[email protected]>
 
 	* gui/dialogs/recurrence-page.glade:
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	12 Feb 2006 15:59:02 -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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.