diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index fdb81b51e2..ae664995d0 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,11 @@ 2002-08-28 Chris Toshok <toshok@ximian.com> + [ fixes #19286 ] + * gui/component/addressbook.c (delete_contact_cb): confirm + deletion of contacts when using the menubar or toolbar. + +2002-08-28 Chris Toshok <toshok@ximian.com> + [ fixes #28897 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_clear_book_data): set book_data to NULL 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 |