aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-book-shell-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/e-book-shell-module.c')
-rw-r--r--addressbook/gui/component/e-book-shell-module.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/addressbook/gui/component/e-book-shell-module.c b/addressbook/gui/component/e-book-shell-module.c
index 480320185e..a1e5c96e51 100644
--- a/addressbook/gui/component/e-book-shell-module.c
+++ b/addressbook/gui/component/e-book-shell-module.c
@@ -214,12 +214,9 @@ book_module_book_loaded_cb (EBook *book,
GtkAction *action;
const gchar *action_name;
- if (status != E_BOOK_ERROR_OK) {
- /* XXX We really need a dialog here, but we don't
- * have access to the ESource so we can't use
- * eab_load_error_dialog. Fun! */
+ /* XXX Handle errors better. */
+ if (status != E_BOOK_ERROR_OK)
return;
- }
contact = e_contact_new ();
action = GTK_ACTION (user_data);