aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-11-25 13:12:36 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:32:22 +0800
commit495e9bf8001e2209a35e8991c07ec038576efdd4 (patch)
treea4e661016c346c39e7e950a33d42f6b5ad97d991 /modules/mail
parent68d3608b81c2a980cd13352badfcfcfe59477c94 (diff)
downloadgsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar.gz
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar.bz2
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar.lz
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar.xz
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.tar.zst
gsoc2013-evolution-495e9bf8001e2209a35e8991c07ec038576efdd4.zip
port modules/ to new EError API.
This should be everything now. https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-attachment-handler.c2
-rw-r--r--modules/mail/e-mail-junk-hook.c2
-rw-r--r--modules/mail/e-mail-shell-backend.c2
-rw-r--r--modules/mail/e-mail-shell-migrate.c2
-rw-r--r--modules/mail/em-account-prefs.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c
index 91fe5d3e5f..2cde45083f 100644
--- a/modules/mail/e-mail-attachment-handler.c
+++ b/modules/mail/e-mail-attachment-handler.c
@@ -358,7 +358,7 @@ exit:
else
folder_name = g_strdup (data);
- e_error_run (
+ e_error_run_dialog_for_args (
parent, "mail-composer:attach-nomessages",
folder_name, camel_exception_get_description (&ex),
NULL);
diff --git a/modules/mail/e-mail-junk-hook.c b/modules/mail/e-mail-junk-hook.c
index 870ffe8377..6089ffc570 100644
--- a/modules/mail/e-mail-junk-hook.c
+++ b/modules/mail/e-mail-junk-hook.c
@@ -52,7 +52,7 @@ mail_junk_hook_idle_cb (struct ErrorData *data)
{
GtkWidget *widget;
- widget = e_error_new (e_shell_get_active_window (NULL),
+ widget = e_error_new_dialog_for_args (e_shell_get_active_window (NULL),
data->error_message, data->error->message, NULL);
em_utils_show_error_silent (widget);
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 0572cfd762..c19ab0d336 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -673,7 +673,7 @@ mail_shell_backend_quit_requested_cb (EShell *shell,
if (unsent == 0)
return;
- response = e_error_run (e_shell_get_active_window (shell), "mail:exit-unsaved", NULL);
+ response = e_error_run_dialog_for_args (e_shell_get_active_window (shell), "mail:exit-unsaved", NULL);
if (response == GTK_RESPONSE_YES)
return;
diff --git a/modules/mail/e-mail-shell-migrate.c b/modules/mail/e-mail-shell-migrate.c
index 7bc10caaa2..2e39c18a62 100644
--- a/modules/mail/e-mail-shell-migrate.c
+++ b/modules/mail/e-mail-shell-migrate.c
@@ -1598,7 +1598,7 @@ em_migrate_folder(EMMigrateSession *session, const gchar *dirname, const gchar *
if (errno == EEXIST) {
gint save = errno;
- switch (e_error_run (e_shell_get_active_window (NULL), "mail:ask-migrate-existing", src->str, dest->str, NULL)) {
+ switch (e_error_run_dialog_for_args (e_shell_get_active_window (NULL), "mail:ask-migrate-existing", src->str, dest->str, NULL)) {
case GTK_RESPONSE_ACCEPT:
mode = CP_OVERWRITE;
goto retry_copy;
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index 0f86cd8341..d0cc34f608 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -82,7 +82,7 @@ account_prefs_disable_account_cb (EAccountTreeView *tree_view)
parent = gtk_widget_get_toplevel (GTK_WIDGET (tree_view));
parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
parent, "mail:ask-delete-proxy-accounts", NULL);
if (response != GTK_RESPONSE_YES) {
@@ -201,7 +201,7 @@ account_prefs_delete_account (EAccountManager *manager)
has_proxies =
e_account_list_account_has_proxies (account_list, account);
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
parent, has_proxies ?
"mail:ask-delete-account-with-proxies" :
"mail:ask-delete-account", NULL);