[evolution-patches] [Calendar] Fix for #330272



Hi

Patch for 330272
Please review.

Thanks
Johnny
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  <johnnyjacob gmail com>
+
+	Fixes #330272
+	* gui/dialogs/alarm-dialog.c (alarm_to_dalarm_widgets):
+	if description present update the widgets.
+	
 2006-02-12  Andre Klapper  <a9016009 gmx de>
 
 	* 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);


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