diff options
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r-- | mail/mail-autofilter.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index d6c5b8e462..3091abc032 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -427,22 +427,17 @@ mail_filter_delete_uri(CamelStore *store, const char *uri) GString *s; GList *l; - s = g_string_new (_("The following filter rule(s):\n")); + s = g_string_new(""); l = deleted; while (l) { g_string_append_printf (s, " %s\n", (char *)l->data); l = l->next; } - g_string_append_printf (s, _("Used the removed folder:\n '%s'\n" - "And have been updated."), euri); - - dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, - GTK_BUTTONS_CLOSE, "%s", s->str); + + dialog = e_error_new(NULL, "mail:filter-updated", s->str, euri, NULL); g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); - - g_string_free (s, TRUE); - - gtk_widget_show (dialog); + g_string_free(s, TRUE); + gtk_widget_show(dialog); printf("Folder deleterename '%s' changed filters, resaving\n", euri); if (rule_context_save ((RuleContext *) fc, user) == -1) |