diff options
author | Not Zed <NotZed@Ximian.com> | 2004-10-06 11:22:22 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-10-06 11:22:22 +0800 |
commit | f745553229591ed3f620761b91e7ed447d1800fa (patch) | |
tree | beae7ddecdf59e907a4fea5d300ae38e9c58cc46 /addressbook/addressbook-errors.xml | |
parent | d80f89af7503afd6460698e7cc0f84cf84a6eb4d (diff) | |
download | gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar.gz gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar.bz2 gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar.lz gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar.xz gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.tar.zst gsoc2013-evolution-f745553229591ed3f620761b91e7ed447d1800fa.zip |
convert to using EABPopup. (sources): remove dead code.
2004-10-01 Not Zed <NotZed@Ximian.com>
* gui/widgets/e-addressbook-view.c (do_popup_menu): convert to
using EABPopup.
(sources): remove dead code.
(has_email_address_1, get_has_email_address): removed now
redundant code.
(save_as, send_as, send_to, print, copy, paste, cut, delete)
(copy_to_folder, move_to_folder, new_card, new_list): new api.
(free_popup_info): dead.
(print_envelope): not pining.
(get_contact_list): take a popup target instead, don't ref.
(get_contact_list_1): not required no more.
(contact_and_book_free): same.
(delete): call eab_view_delete_selection.
(eab_view_delete_selection): do the actual delete here.
* gui/widgets/eab-popup.c (eab_popup_target_new_select): implement.
2004-10-01 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-popup.[ch]: addressbook popup driver.
* gui/component/addressbook-view.c (delete_addressbook_cb): use
e-error for the message prompt. don't bother keeping it around,
it can never be re-sensitised anyway.
(book_removed): no longer destroy the original dialogue.
* addressbook-errors.xml: add ask-delete for deleting
addressbooks.
* gui/component/addressbook-view.c (addressbook_view_init):
connect to popup_event rather than fill_popup_menu now.
(fill_popup_menu_callback): renamed to popup_event_callback,
changed to use epopup.
(add_popup_menu_item): remove, no longer needed.
svn path=/trunk/; revision=27466
Diffstat (limited to 'addressbook/addressbook-errors.xml')
-rw-r--r-- | addressbook/addressbook-errors.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/addressbook-errors.xml b/addressbook/addressbook-errors.xml index e75e59ccab..9b9b499793 100644 --- a/addressbook/addressbook-errors.xml +++ b/addressbook/addressbook-errors.xml @@ -32,6 +32,13 @@ <primary>Could not remove addressbook.</primary> </error> + <error id="ask-delete-addressbook" type="question" modal="true" default="GTK_RESPONSE_CANCEL"> + <primary>Delete address book '{0}'?</primary> + <secondary>This address book will be removed permanently.</secondary> + <button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/> + <button stock="gtk-delete" response="GTK_RESPONSE_YES"/> + </error> + <error id="edit-categories" type="error"> <primary>Category editor not available.</primary> </error> |