[evolution] Bug 595092 - Remove option to skip offline syncrhonization dialog



commit d06a82a911f05b6b2b2f3549e520c096880bf78d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Oct 7 19:42:32 2009 -0500

    Bug 595092 - Remove option to skip offline syncrhonization dialog

 mail/evolution-mail.schemas.in      |   17 +----------------
 modules/mail/e-mail-shell-backend.c |    3 +--
 2 files changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in
index d648311..7a97553 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 1e0655f..c178e6d 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]