From cf5f368802af86e8d2510f3dd6321d2ce98d19ee Mon Sep 17 00:00:00 2001
From: Li Yuan
Date: Mon, 14 Aug 2006 08:18:49 +0000
Subject: Fixes #351253, make the dialog shows the label and can be closed.
2006-08-14 Li Yuan
* gui/alarm-notify/alarm-queue.c: (mail_notification):
Fixes #351253, make the dialog shows the label and
can be closed.
svn path=/trunk/; revision=32545
---
calendar/gui/alarm-notify/alarm-queue.c | 2 ++
1 file changed, 2 insertions(+)
(limited to 'calendar/gui/alarm-notify')
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 2ee3cdeaaf..e3c7b514e0 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1701,9 +1701,11 @@ mail_notification (time_t trigger, CompQueuedAlarms *cqa, gpointer alarm_id)
"email notifications yet, but this reminder was\n"
"configured to send an email. Evolution will display\n"
"a normal reminder dialog box instead."));
+ gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), label, TRUE, TRUE, 4);
gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
}
/* Performs notification of a procedure alarm */
--
cgit v1.2.3