Do not hide maildir accounts from UI
This commit is contained in:
@ -248,12 +248,6 @@ mail_store_load_accounts (EMailSession *session,
|
||||
if (uri == NULL || *uri == '\0')
|
||||
continue;
|
||||
|
||||
/* HACK: mbox URI's are handled by the local store setup
|
||||
* above. Any that come through as account sources
|
||||
* are really movemail sources! */
|
||||
if (g_str_has_prefix (uri, "maildir:"))
|
||||
continue;
|
||||
|
||||
e_mail_store_add_by_uri (session, uri, display_name);
|
||||
}
|
||||
|
||||
|
||||
@ -3279,7 +3279,7 @@ em_folder_tree_restore_state (EMFolderTree *folder_tree,
|
||||
/* Do not expand local stores in Express mode. */
|
||||
if (e_shell_get_express_mode (shell)) {
|
||||
expand_row &= (strncmp (uri, "vfolder", 7) != 0);
|
||||
expand_row &= (strncmp (uri, "maildir", 4) != 0);
|
||||
expand_row &= (strncmp (uri, "maildir", 7) != 0);
|
||||
}
|
||||
|
||||
if (expand_row) {
|
||||
|
||||
@ -384,7 +384,7 @@ get_receive_type (const gchar *url)
|
||||
|
||||
/* HACK: since mbox is ALSO used for native evolution trees now, we need to
|
||||
fudge this to treat it as a special 'movemail' source */
|
||||
if (!strncmp(url, "maildir:", 5))
|
||||
if (!strncmp(url, "maildir:", 8))
|
||||
return SEND_RECEIVE;
|
||||
|
||||
provider = camel_provider_get (url, NULL);
|
||||
|
||||
Reference in New Issue
Block a user