[Calendar] Fix for 327723

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

Attached a patch for bug #327723

Please review.

Thanks
Johnny

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
327723.diff (text/x-patch, 1.4 KB)
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2960
diff -u -p -r1.2960 ChangeLog
--- calendar/ChangeLog	25 Jan 2006 10:48:14 -0000	1.2960
+++ calendar/ChangeLog	31 Jan 2006 08:40:29 -0000
@@ -1,3 +1,9 @@
+2006-01-31  Johnny Jacob  <[email protected]>
+
+	Fixes #327723
+	* gui/dialogs/event-page.c (init_widgets): Handle the
+	delete-event for alarm dialog.
+
 2006-01-25  Chenthill Palanisamy  <[email protected]>
 
 	* gui/alarm-notify/alarm-queue.c: (popup_notification):
Index: calendar/gui/dialogs/event-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/event-page.c,v
retrieving revision 1.103
diff -u -p -r1.103 event-page.c
--- calendar/gui/dialogs/event-page.c	30 Jan 2006 09:49:35 -0000	1.103
+++ calendar/gui/dialogs/event-page.c	31 Jan 2006 08:40:50 -0000
@@ -2880,6 +2880,7 @@ init_widgets (EventPage *epage)
 
 	/* Alarm dialog */
 	g_signal_connect (GTK_DIALOG (priv->alarm_dialog), "response", G_CALLBACK (gtk_widget_hide), priv->alarm_dialog);
+	g_signal_connect (GTK_DIALOG (priv->alarm_dialog), "delete-event", G_CALLBACK (gtk_widget_hide), priv->alarm_dialog);
 	w = alarm_list_dialog_peek (priv->client, priv->alarm_list_store);
 	gtk_widget_reparent (w, priv->alarm_box);
 	gtk_widget_show_all (w);
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.