diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-11-25 07:04:09 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-01 03:31:19 +0800 |
commit | 007a734e88eef70451ab12777481e70c52b96ac0 (patch) | |
tree | 123a696f11d2bd76329962a9c960814333b04764 /addressbook/gui/contact-editor/e-contact-quick-add.c | |
parent | 0da239224f119664577c0d5dc47cab2632b083be (diff) | |
download | gsoc2013-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-editor/e-contact-quick-add.c')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 6c134192cd..ced2f2ec12 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -129,7 +129,10 @@ merge_cb (EBook *book, EBookStatus status, gpointer closure) if (e_book_is_writable (book)) eab_merging_book_add_contact (book, qa->contact, NULL, NULL); else - e_error_run (e_shell_get_active_window (NULL), "addressbook:error-read-only", e_source_peek_name (e_book_get_source (book)), NULL); + e_error_run_dialog_for_args (e_shell_get_active_window (NULL), + "addressbook:error-read-only", + e_source_peek_name (e_book_get_source (book)), + NULL); if (qa->cb) qa->cb (qa->contact, qa->closure); |