From f65f8935bce5538d490d872e9838874c83717953 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 16 Dec 2009 13:39:39 -0500 Subject: Kill MailSession's interactive flag. After analyzing this again I'm confident we really don't need it. The only state change is from FALSE to TRUE at startup, and that one-time event happens while the mail shell backend is starting up (see: e_shell_backend_start()). If a need arises to query for this in the future I'll extend the EShellBackend API with an e_shell_backend_started() function, but for now there's no need. --- modules/mail/e-mail-shell-backend.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c index 6b96e8b1aa..ef25000efc 100644 --- a/modules/mail/e-mail-shell-backend.c +++ b/modules/mail/e-mail-shell-backend.c @@ -536,9 +536,6 @@ mail_shell_backend_start (EShellBackend *shell_backend) shell = e_shell_backend_get_shell (shell_backend); shell_settings = e_shell_get_shell_settings (shell); - /* XXX Do we really still need this flag? */ - mail_session_set_interactive (TRUE); - enable_search_folders = e_shell_settings_get_boolean ( shell_settings, "mail-enable-search-folders"); if (enable_search_folders) -- cgit v1.2.3