aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-16 01:58:09 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-16 01:58:09 +0800
commita4828845f0defcb856c4be2a1c24757b8765afd8 (patch)
tree9148118e1ac34ba05076a0a2adb95610296c24e9 /mail/mail-component.c
parent2a4152b6dd4dbb32bdc4ff3c41aa9ef3fb2fc602 (diff)
downloadgsoc2013-evolution-a4828845f0defcb856c4be2a1c24757b8765afd8.tar.gz
gsoc2013-evolution-a4828845f0defcb856c4be2a1c24757b8765afd8.tar.zst
gsoc2013-evolution-a4828845f0defcb856c4be2a1c24757b8765afd8.zip
Improved offline support options
svn path=/trunk/; revision=33548
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 9bd59e06c2..804788912f 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -1099,7 +1099,8 @@ status_check (GNOME_Evolution_ShellState shell_state)
{
case GNOME_Evolution_USER_OFFLINE:
status = OFFLINE;
- break;
+ if (em_utils_prompt_user (NULL, "/apps/evolution/mail/prompts/quick_offline", "mail:ask-quick-offline", NULL))
+ break;
case GNOME_Evolution_FORCED_OFFLINE:
/*Network is down so change network state on the camel session*/
status = OFFLINE;