Local Delivery not updated on start and missing Receiving Options page
authorMilan Crha <mcrha@redhat.com>
Wed, 20 Feb 2013 13:22:23 +0000 (14:22 +0100)
committerMilan Crha <mcrha@redhat.com>
Wed, 20 Feb 2013 13:22:23 +0000 (14:22 +0100)
This was reported at Red Hat's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=910252

To have this fully working, users should edit the account and save
the changes (even when not done any) by clicking the OK button
in the account editor, thus the source will receive its extension
and the next start the account will be recognized and auto-updated.

camel/providers/local/camel-local-provider.c

index efbc757..17d8593 100644 (file)
@@ -59,6 +59,10 @@ static CamelProvider mh_provider = {
 
 #endif
 
+static CamelProviderConfEntry mbox_conf_entries[] = {
+       { CAMEL_PROVIDER_CONF_END }
+};
+
 static CamelProvider mbox_provider = {
        "mbox",
        N_("Local delivery"),
@@ -66,7 +70,7 @@ static CamelProvider mbox_provider = {
        "mail",
        CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE | CAMEL_PROVIDER_IS_LOCAL,
        CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH,
-       NULL,  /* no conf entries */
+       mbox_conf_entries,  /* semi-empty entries, thus evolution will show "Receiving Options" page */
        NULL,
        /* ... */
 };