aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor
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/contact-list-editor
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/contact-list-editor')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c3
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 8e92d28532..dff1b3da83 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -262,7 +262,8 @@ contact_list_editor_contact_exists (EContactListModel *model,
if (!e_contact_list_model_has_email (model, email))
return FALSE;
- return (e_error_run (e_shell_get_active_window (NULL), tag, email, NULL) != GTK_RESPONSE_YES);
+ return (e_error_run_dialog_for_args (e_shell_get_active_window (NULL),
+ tag, email, NULL) != GTK_RESPONSE_YES);
}
static void
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c
index a5fc9937ac..87fd8e8fec 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c
@@ -153,7 +153,8 @@ e_contact_list_model_add_email (EContactListModel *model,
g_return_if_fail (email != NULL);
if (e_contact_list_model_has_email (model, email))
- if (e_error_run (e_shell_get_active_window (NULL), tag, email, NULL) != GTK_RESPONSE_YES)
+ if (e_error_run_dialog_for_args (e_shell_get_active_window
+ (NULL), tag, email, NULL) != GTK_RESPONSE_YES)
return;
destination = e_destination_new ();