diff options
author | Milan Crha <mcrha@redhat.com> | 2008-01-10 23:52:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-01-10 23:52:46 +0800 |
commit | f12f5298015788a18abf19470b0460f5a3bad1f5 (patch) | |
tree | 3ce816d662d259f5d1e98baef81026d5f359bba6 /addressbook/addressbook.error.xml | |
parent | 3b1751690acdcfc8abc5ceb0c374724ccf50df36 (diff) | |
download | gsoc2013-evolution-f12f5298015788a18abf19470b0460f5a3bad1f5.tar.gz gsoc2013-evolution-f12f5298015788a18abf19470b0460f5a3bad1f5.tar.zst gsoc2013-evolution-f12f5298015788a18abf19470b0460f5a3bad1f5.zip |
** Fix for bug #448441
2008-01-10 Milan Crha <mcrha@redhat.com>
** 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
Diffstat (limited to 'addressbook/addressbook.error.xml')
-rw-r--r-- | addressbook/addressbook.error.xml | 6 |
1 files changed, 6 insertions, 0 deletions
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.</_secondary> </error> + <error id="error-read-only" type="error" default="GTK_RESPONSE_YES"> + <_primary>Cannot add new contact</_primary> + <_secondary>The address book {0} is read only, thus you cannot add contacts there. Select other address book, please.</_secondary> + <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/> + </error> + </error-list> |