aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-migrate.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-11-25 06:55:54 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:31:19 +0800
commit0da239224f119664577c0d5dc47cab2632b083be (patch)
treed1979fdf65cbfed4e97f2047168259975d257dad /shell/e-shell-migrate.c
parentfff91b3bc66758f21a4040d7ec198318333e5150 (diff)
downloadgsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar.gz
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar.bz2
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar.lz
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar.xz
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.tar.zst
gsoc2013-evolution-0da239224f119664577c0d5dc47cab2632b083be.zip
port shell/ over to the new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'shell/e-shell-migrate.c')
-rw-r--r--shell/e-shell-migrate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index d7c8312a86..0c17c97fe8 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -70,7 +70,7 @@ shell_migrate_attempt (EShell *shell,
if (error != NULL) {
gint response;
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
e_shell_get_active_window (shell), "shell:upgrade-failed",
error->message, NULL);
@@ -242,7 +242,7 @@ e_shell_migrate_attempt (EShell *shell)
need = g_strdup_printf (_("%ld KB"), usage);
have = g_strdup_printf (_("%ld KB"), avail);
- e_error_run (
+ e_error_run_dialog_for_args (
e_shell_get_active_window (shell), "shell:upgrade-nospace",
need, have, NULL);
@@ -285,13 +285,13 @@ check_old:
string = g_strdup_printf (
"%d.%d.%d", last_major, last_minor, last_micro);
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
e_shell_get_active_window (shell), "shell:upgrade-remove-1-4", string, NULL);
g_free (string);
switch (response) {
case GTK_RESPONSE_OK: /* delete */
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
e_shell_get_active_window (shell),
"shell:upgrade-remove-1-4-confirm",
NULL);