aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.c
diff options
context:
space:
mode:
authorSivaiah Nallagatla <siva@src.gnome.org>2004-12-24 02:04:56 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-12-24 02:04:56 +0800
commit72e4f1181ba63747f0204ef6f019a265c25cb616 (patch)
treed310913888d3d137d690444bc77291827fe75f88 /addressbook/gui/widgets/eab-gui-util.c
parent67dee2832ef29749a2cf1db70e87c5dc469a6576 (diff)
downloadgsoc2013-evolution-72e4f1181ba63747f0204ef6f019a265c25cb616.tar.gz
gsoc2013-evolution-72e4f1181ba63747f0204ef6f019a265c25cb616.tar.zst
gsoc2013-evolution-72e4f1181ba63747f0204ef6f019a265c25cb616.zip
Merge from offline brnach
svn path=/trunk/; revision=28194
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c9
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 b6b092c5b1..24bbe248d4 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 contents");
+ }
+
+ 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.");