diff options
author | Milan Crha <mcrha@redhat.com> | 2012-06-07 13:14:57 +0200 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-06-07 13:14:57 +0200 |
commit | 0d1aa9243998c9cb40b9f47a89fc8e61f85917fd (patch) | |
tree | aec1b562e719ed0444d8ea1c4587697ed74da7df | |
parent | 74c7636d14005d4cac3bc714274057544f0f60c7 (diff) | |
download | evolution-data-server-0d1aa9243998c9cb40b9f47a89fc8e61f85917fd.tar.gz |
Bug #677183 - maildir account doesn't open
-rw-r--r-- | camel/camel-settings.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/camel/camel-settings.c b/camel/camel-settings.c index e4534568c..d38964545 100644 --- a/camel/camel-settings.c +++ b/camel/camel-settings.c @@ -266,15 +266,6 @@ camel_settings_load_from_url (CamelSettings *settings, "user", url->user, NULL); - /* Some CamelLocalSettings properties are read directly - * from the CamelURL struct instead of from parameters. */ - - if (CAMEL_IS_LOCAL_SETTINGS (settings)) - g_object_set ( - settings, - "path", url->path, - NULL); - for (ii = 0; ii < n_properties; ii++) { GParamSpec *pspec = properties[ii]; const gchar *string; @@ -395,6 +386,15 @@ camel_settings_load_from_url (CamelSettings *settings, } } + /* Some CamelLocalSettings properties are read directly + * from the CamelURL struct instead of from parameters. */ + + if (CAMEL_IS_LOCAL_SETTINGS (settings)) + g_object_set ( + settings, + "path", url->path, + NULL); + g_object_thaw_notify (G_OBJECT (settings)); g_free (properties); |