diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 8 | ||||
-rw-r--r-- | widgets/misc/e-activity-handler.c | 7 |
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; |