diff options
author | Sivaiah Nallagatla <snallagatla@novell.com> | 2004-11-22 07:30:57 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2004-11-22 07:30:57 +0800 |
commit | e57530cbab1283f8d8fc98d88569da08ad9c41b1 (patch) | |
tree | 5b4a8e728f0fa9961a98ffc1e33ae6b3bc3850ed /addressbook/gui/widgets | |
parent | b4122c4ebc4c0acedb70e663f6221bd8a3818807 (diff) | |
download | gsoc2013-evolution-e57530cbab1283f8d8fc98d88569da08ad9c41b1.tar.gz gsoc2013-evolution-e57530cbab1283f8d8fc98d88569da08ad9c41b1.tar.zst gsoc2013-evolution-e57530cbab1283f8d8fc98d88569da08ad9c41b1.zip |
added message which gets prompted when user tries to access a book which
2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-gui-util.c (eab_load_error_dialog) :
added message which gets prompted when user tries
to access a book which is not available in offline mode
* gui/component/addressbook-config.c (eabc_general_offline)
(offline_status_changed_cb) : added a new check box
to properties page to mark a book for offline usage
* gui/component/addressbook.c (load_source_cb) : do no try to
authenticate in case of offline mode.
(auth_required_cb) : new call back which gets called
when backend sends notification for password to client
svn path=/trunk/; revision=27952
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/eab-gui-util.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index a88bd4cf82..90c103be16 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -86,7 +86,14 @@ eab_load_error_dialog (GtkWidget *parent, ESource *source, EBookStatus status) uri = e_source_get_uri (source); - if (!strncmp (uri, "file:", 5)) { + if (status == E_BOOK_ERROR_OFFLINE_UNAVAILABLE) { + label_string = _("We were unable to open this addressbook. This either means " + "this book is not marked for offline usage or not yet downloaded " + "for offline usage. Please load the addressbook once in online mode " + "to download its conents"); + } + + else if (!strncmp (uri, "file:", 5)) { label_string = _("We were unable to open this addressbook. Please check that the " "path exists and that you have permission to access it."); |