aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-09-29 18:07:12 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-09-29 18:07:12 +0800
commit0679411d0e2e43981501cbf0f84ec2ca5ea1d655 (patch)
tree8031ccf584ca64dcaade3f9465e3196966c01521 /widgets
parent18396b557b013266a840f618c2b9b6cc0ff87bf7 (diff)
downloadgsoc2013-evolution-0679411d0e2e43981501cbf0f84ec2ca5ea1d655.tar.gz
gsoc2013-evolution-0679411d0e2e43981501cbf0f84ec2ca5ea1d655.tar.zst
gsoc2013-evolution-0679411d0e2e43981501cbf0f84ec2ca5ea1d655.zip
** Fix for bug #530716
2008-09-29 Milan Crha <mcrha@redhat.com> ** Fix for bug #530716 * mail/mail-session.c: (user_message_response), (user_message_exec), (user_message_response_free): Differentiate between response with valid message pointer and with one already freed. * widgets/misc/e-activity-handler.c: (error_cleanup): GtkDialog errors close by the response message, not as other widgets, because creator of the dialog waits for that signal and takes care of the widget. svn path=/trunk/; revision=36473
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-activity-handler.c7
2 files changed, 14 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index e3f85dab74..dee6690520 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-29 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #530716
+
+ * e-activity-handler.c: (error_cleanup): GtkDialog errors close
+ by the response message, not as other widgets, because creator
+ of the dialog waits for that signal and takes care of the widget.
+
2008-09-29 Sankar P <psankar@novell.com>
License Changes
diff --git a/widgets/misc/e-activity-handler.c b/widgets/misc/e-activity-handler.c
index e6e4d80386..98c844ff3f 100644
--- a/widgets/misc/e-activity-handler.c
+++ b/widgets/misc/e-activity-handler.c
@@ -515,7 +515,12 @@ error_cleanup (EActivityHandler *activity_handler)
/* Error older than wanted time. So cleanup */
e_logger_log (priv->logger, info->error_type, g_object_get_data (info->error, "primary"),
g_object_get_data (info->error, "secondary"));
- gtk_widget_destroy (info->error);
+
+ if (GTK_IS_DIALOG (info->error))
+ gtk_dialog_response (GTK_DIALOG (info->error), GTK_RESPONSE_CLOSE);
+ else
+ gtk_widget_destroy (info->error);
+
node = p;
p = p->next;