aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-11-25 07:04:09 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:31:19 +0800
commit007a734e88eef70451ab12777481e70c52b96ac0 (patch)
tree123a696f11d2bd76329962a9c960814333b04764 /addressbook/gui/widgets/eab-gui-util.c
parent0da239224f119664577c0d5dc47cab2632b083be (diff)
downloadgsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar.gz
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar.bz2
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar.lz
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar.xz
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.tar.zst
gsoc2013-evolution-007a734e88eef70451ab12777481e70c52b96ac0.zip
port addressbook/ to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index e445b05d40..e80e65575f 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -86,7 +86,9 @@ eab_error_dialog (const gchar *msg, EBookStatus status)
status_str = status_to_string [status];
if (status_str)
- e_error_run (e_shell_get_active_window (NULL), "addressbook:generic-error", msg, _(status_str), NULL);
+ e_error_run_dialog_for_args (e_shell_get_active_window (NULL),
+ "addressbook:generic-error",
+ msg, _(status_str), NULL);
}
void
@@ -145,7 +147,7 @@ eab_load_error_dialog (GtkWidget *parent, ESource *source, EBookStatus status)
}
}
- dialog = e_error_new ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL);
+ dialog = e_error_new_dialog_for_args ((GtkWindow *) parent, "addressbook:load-error", label_string, NULL);
g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL);
gtk_widget_show (dialog);
@@ -187,13 +189,13 @@ eab_search_result_dialog (GtkWidget *parent,
g_return_if_reached ();
}
- e_error_run ((GtkWindow *) parent, "addressbook:search-error", str, NULL);
+ e_error_run_dialog_for_args ((GtkWindow *) parent, "addressbook:search-error", str, NULL);
}
gint
eab_prompt_save_dialog (GtkWindow *parent)
{
- return e_error_run (parent, "addressbook:prompt-save", NULL);
+ return e_error_run_dialog_for_args (parent, "addressbook:prompt-save", NULL);
}
static gchar *