From f12f5298015788a18abf19470b0460f5a3bad1f5 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 10 Jan 2008 15:52:46 +0000 Subject: ** Fix for bug #448441 2008-01-10 Milan Crha ** Fix for bug #448441 * addressbook.error.xml: New message "error-read-only" added. * gui/contact-editor/e-contact-quick-add.c: (struct _QuickAdd), (merge_cb), (sanitize_widgets), (source_changed), (build_quick_add_dialog): Disable "OK" and "Edit Full" buttons if no source is selected. Also set always book from combo, do not use the new created. svn path=/trunk/; revision=34791 --- addressbook/ChangeLog | 11 ++++ addressbook/addressbook.error.xml | 6 +++ .../gui/contact-editor/e-contact-quick-add.c | 61 +++++++++++++++++++--- 3 files changed, 71 insertions(+), 7 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3fe5f989ad..7179531ad1 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,14 @@ +2008-01-10 Milan Crha + + ** Fix for bug #448441 + + * addressbook.error.xml: New message "error-read-only" added. + * gui/contact-editor/e-contact-quick-add.c: (struct _QuickAdd), + (merge_cb), (sanitize_widgets), (source_changed), + (build_quick_add_dialog): + Disable "OK" and "Edit Full" buttons if no source is selected. + Also set always book from combo, do not use the new created. + 2008-01-07 Milan Crha ** Fix for bug #339813 diff --git a/addressbook/addressbook.error.xml b/addressbook/addressbook.error.xml index fd357cf2b3..a9da7ac38d 100644 --- a/addressbook/addressbook.error.xml +++ b/addressbook/addressbook.error.xml @@ -118,4 +118,10 @@ <_secondary>Permission Denied. + + <_primary>Cannot add new contact + <_secondary>The address book {0} is read only, thus you cannot add contacts there. Select other address book, please. +