diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-12-17 12:23:36 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-12-17 12:23:36 +0800 |
commit | 216085f3c1c253bb9c3418af484ff571c8111414 (patch) | |
tree | a75ab1da17079ff8b8aa37d79d052f765ee2c29a /mail/mail-account-gui.c | |
parent | 0a13fd3702b265298268ece517c3c99e519c7b79 (diff) | |
download | gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar.gz gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar.bz2 gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar.lz gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar.xz gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.tar.zst gsoc2013-evolution-216085f3c1c253bb9c3418af484ff571c8111414.zip |
Make a public function that shows an error dialog, which can be used when
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook.c (addressbook_show_load_error_dialog):
Make a public function that shows an error dialog, which can be used
when a source fails to load.
(book_open_cb): Call addressbook_show_load_error_dialog () on error.
(set_prop): Don't reuse the book when loading a new source. This was
confusing the contact-editor, which gets the book passed in.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init):
Make "source_book" and "target_book" distinct properties.
(new_target_cb): Implement.
(source_selected): Implement.
(contact_moved_cb): Implement.
(contact_added_cb): Handle the case where source_book != target_book as
a move - if the add was successful, remove contact from source book.
(save_contact): Handle case where source_book != target_book.
(delete_cb): "book" renamed to "source_book".
(e_contact_editor_init): Set up source_selected signal.
(e_contact_editor_dispose): Dispose of both source and target books.
(e_contact_editor_new): "book" renamed to "source_book".
(e_contact_editor_set_property): If a source book is set, and we don't
have a target book, make target_book == source_book. Allow setting
target book, and base editability on that. If we're editing an existing
contact, treat book change as a change, and update command state.
(e_contact_editor_get_property): Allow getting target book.
(set_source_field): Indicate the selected book.
svn path=/trunk/; revision=23958
Diffstat (limited to 'mail/mail-account-gui.c')
0 files changed, 0 insertions, 0 deletions