aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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
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')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c4
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c4
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c2
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c4
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c2
-rw-r--r--modules/calendar/e-task-shell-sidebar.c4
-rw-r--r--modules/calendar/e-task-shell-view-actions.c2
-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
12 files changed, 17 insertions, 17 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index 85db9d58e8..a12dc7f6de 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -68,7 +68,7 @@ action_address_book_delete_cb (GtkAction *action,
source = e_source_selector_peek_primary_selection (selector);
g_return_if_fail (source != NULL);
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"addressbook:ask-delete-addressbook",
e_source_peek_name (source));
@@ -84,7 +84,7 @@ action_address_book_delete_cb (GtkAction *action,
}
if (!e_book_remove (book, NULL)) {
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"addressbook:remove-addressbook", NULL);
g_object_unref (book);
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 573299084a..af49db3c3b 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -119,7 +119,7 @@ cal_shell_sidebar_backend_died_cb (ECalShellSidebar *cal_shell_sidebar,
g_hash_table_remove (client_table, uid);
cal_shell_sidebar_emit_status_message (cal_shell_sidebar, NULL);
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:calendar-crashed", NULL);
@@ -200,7 +200,7 @@ cal_shell_sidebar_client_opened_cb (ECalShellSidebar *cal_shell_sidebar,
break;
case E_CALENDAR_STATUS_REPOSITORY_OFFLINE:
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-no-contents-offline-calendar",
NULL);
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index a8c8fc1ea4..f95461419c 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -87,7 +87,7 @@ action_calendar_delete_cb (GtkAction *action,
g_return_if_fail (E_IS_SOURCE (source));
/* Ask for confirmation. */
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-delete-calendar",
e_source_peek_name (source));
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index dee57e0d26..8af86fa4fa 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -116,7 +116,7 @@ memo_shell_sidebar_backend_died_cb (EMemoShellSidebar *memo_shell_sidebar,
g_hash_table_remove (client_table, uid);
memo_shell_sidebar_emit_status_message (memo_shell_sidebar, NULL);
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:memos-crashed", NULL);
@@ -197,7 +197,7 @@ memo_shell_sidebar_client_opened_cb (EMemoShellSidebar *memo_shell_sidebar,
break;
case E_CALENDAR_STATUS_REPOSITORY_OFFLINE:
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-no-contents-offline-memos",
NULL);
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index c36b4569c4..cbf52fd1a2 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -188,7 +188,7 @@ action_memo_list_delete_cb (GtkAction *action,
g_return_if_fail (E_IS_SOURCE (source));
/* Ask for confirmation. */
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-delete-memo-list",
e_source_peek_name (source));
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index df3761f444..0015028f43 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -114,7 +114,7 @@ task_shell_sidebar_backend_died_cb (ETaskShellSidebar *task_shell_sidebar,
g_hash_table_remove (client_table, uid);
task_shell_sidebar_emit_status_message (task_shell_sidebar, NULL);
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:tasks-crashed", NULL);
@@ -195,7 +195,7 @@ task_shell_sidebar_client_opened_cb (ETaskShellSidebar *task_shell_sidebar,
break;
case E_CALENDAR_STATUS_REPOSITORY_OFFLINE:
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-no-contents-offline-tasks",
NULL);
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index 872cd785fe..0b78b85794 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -219,7 +219,7 @@ action_task_list_delete_cb (GtkAction *action,
g_return_if_fail (E_IS_SOURCE (source));
/* Ask for confirmation. */
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
GTK_WINDOW (shell_window),
"calendar:prompt-delete-task-list",
e_source_peek_name (source));
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);