From 495e9bf8001e2209a35e8991c07ec038576efdd4 Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Tue, 24 Nov 2009 23:12:36 -0600 Subject: port modules/ to new EError API. This should be everything now. https://bugzilla.gnome.org/show_bug.cgi?id=602963 --- modules/calendar/e-cal-shell-sidebar.c | 4 ++-- modules/calendar/e-cal-shell-view-actions.c | 2 +- modules/calendar/e-memo-shell-sidebar.c | 4 ++-- modules/calendar/e-memo-shell-view-actions.c | 2 +- modules/calendar/e-task-shell-sidebar.c | 4 ++-- modules/calendar/e-task-shell-view-actions.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'modules/calendar') 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)); -- cgit v1.2.3