aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-28 14:39:25 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-28 14:39:25 +0800
commite23cf1ca36bcf886bcac15545166eff0e930a4bd (patch)
tree22462408dc2fe4da0306bb472cdd6239d739b650 /mail/mail-autofilter.c
parent9e7d28c8bc1c14cbb627f0375a60c312c5569536 (diff)
downloadgsoc2013-evolution-e23cf1ca36bcf886bcac15545166eff0e930a4bd.tar.gz
gsoc2013-evolution-e23cf1ca36bcf886bcac15545166eff0e930a4bd.tar.zst
gsoc2013-evolution-e23cf1ca36bcf886bcac15545166eff0e930a4bd.zip
** Changed error messages to use EError.
2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to use EError. svn path=/trunk/; revision=25653
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c15
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)