diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-05-20 06:28:23 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-05-20 06:28:23 +0800 |
commit | d11e6f9230b0b36fbf811ebde75b49887f17c732 (patch) | |
tree | 67646718f7caba969eca8bb48aaca565046c7cf7 /addressbook/gui/contact-editor/eab-editor.c | |
parent | 62b15c38075d94b9969e36e461cf497baa1dd70d (diff) | |
download | gsoc2013-evolution-d11e6f9230b0b36fbf811ebde75b49887f17c732.tar.gz gsoc2013-evolution-d11e6f9230b0b36fbf811ebde75b49887f17c732.tar.zst gsoc2013-evolution-d11e6f9230b0b36fbf811ebde75b49887f17c732.zip |
Remove debug output. (real_save_contact): Separate out actual save logic
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (extract_simple_field):
Remove debug output.
(real_save_contact): Separate out actual save logic from
save_contact ().
(save_contact): If the user wants to move the contact from one
address book to another, but the source is read-only, as to
save a copy instead.
(e_contact_editor_is_valid): The dialog should be an error dialog.
(app_delete_event_cb): If the target book is read-only, prompt
to discard. If the user wants to move but cannot, prompt to save
a copy. Also validate.
* gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes):
Remove comment about invalid data dialog, it's not handled here
anymore.
svn path=/trunk/; revision=25996
Diffstat (limited to 'addressbook/gui/contact-editor/eab-editor.c')
-rw-r--r-- | addressbook/gui/contact-editor/eab-editor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c index 354044a607..4e1f6d11fd 100644 --- a/addressbook/gui/contact-editor/eab-editor.c +++ b/addressbook/gui/contact-editor/eab-editor.c @@ -256,7 +256,6 @@ eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window) switch (eab_prompt_save_dialog (window)) { case GTK_RESPONSE_YES: if (!eab_editor_is_valid (editor)) { - /* XXX pop up dialog about things being invalid */ return FALSE; } eab_editor_save_contact (editor, FALSE); |