aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index ee761fb755..4a40762a91 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -101,8 +101,10 @@ static void
delete_contact_cb (BonoboUIComponent *uih, void *user_data, const char *path)
{
AddressbookView *view = (AddressbookView *) user_data;
- if (view->view)
- e_addressbook_view_delete_selection(view->view);
+ if (view->view) {
+ if (e_contact_editor_confirm_delete (GTK_WIDGET (view>view)))
+ e_addressbook_view_delete_selection(view->view);
+ }
}
static void