aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-08 08:42:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-08 08:42:32 +0800
commitd06a82a911f05b6b2b2f3549e520c096880bf78d (patch)
tree9658c9b18025e34523258496f05cdfd821349fb7
parent7813f02f9e0a9555ae53b8a5c37ba837c5ac95b7 (diff)
downloadgsoc2013-evolution-d06a82a911f05b6b2b2f3549e520c096880bf78d.tar.gz
gsoc2013-evolution-d06a82a911f05b6b2b2f3549e520c096880bf78d.tar.zst
gsoc2013-evolution-d06a82a911f05b6b2b2f3549e520c096880bf78d.zip
Bug 595092 - Remove option to skip offline syncrhonization dialog
-rw-r--r--mail/evolution-mail.schemas.in17
-rw-r--r--modules/mail/e-mail-shell-backend.c3
2 files changed, 2 insertions, 18 deletions
diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in
index d6483110c7..7a975531df 100644
--- a/mail/evolution-mail.schemas.in
+++ b/mail/evolution-mail.schemas.in
@@ -1034,23 +1034,8 @@
</long>
</locale>
</schema>
-
- <schema>
- <key>/schemas/apps/evolution/mail/prompts/quick_offline</key>
- <applyto>/apps/evolution/mail/prompts/quick_offline</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short>Prompt to check if the user wants to go offline immediately </short>
- <long>
- It disables/enables the repeated prompts to ask if offline
- sync is required before going into offline mode.
- </long>
- </locale>
- </schema>
- <schema>
+ <schema>
<key>/schemas/apps/evolution/mail/prompts/delete_in_vfolder</key>
<applyto>/apps/evolution/mail/prompts/delete_in_vfolder</applyto>
<owner>evolution-mail</owner>
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 1e0655f7d4..c178e6d020 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -420,8 +420,7 @@ mail_shell_backend_prepare_for_offline_cb (EShell *shell,
if (e_shell_get_network_available (shell))
synchronize = em_utils_prompt_user (
- GTK_WINDOW (parent),
- "/apps/evolution/mail/prompts/quick_offline",
+ GTK_WINDOW (parent), NULL,
"mail:ask-quick-offline", NULL);
if (!synchronize) {