X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=main.c;h=2e19b84bcff28cbad281d6525bcbf4605077bdc4;hp=a6d2c89cd3fd1812540fb83d1f91f30c91c17f17;hb=16ad4992d0c5b982f660e8a533f7c37c77c2fdbe;hpb=dbcb6cd8e6d1a12daa21a6aa17738adf026cf069 diff --git a/main.c b/main.c index a6d2c89..2e19b84 100644 --- a/main.c +++ b/main.c @@ -53,7 +53,7 @@ static void read_config(int signalnum) { /* continuous mode is required on Fremantle */ ctx.continuous_mode = 1; if (!cfg.continuous_mode) - log_msg("WARNING: continuous_mode = 0 operation no longer supported, ignoring config setting"); + log_msg("continuous_mode = 0 operation no longer supported, ignoring config setting\n"); #else ctx.continuous_mode = cfg.continuous_mode; #endif @@ -66,6 +66,9 @@ static void read_config(int signalnum) { } else ctx.other_browser_cmd = NULL; update_default_browser(&ctx, cfg.default_browser); +#ifdef FREMANTLE + ctx.autostart_microb = cfg.autostart_microb; +#endif log_msg("continuous_mode: %d\n", cfg.continuous_mode); log_msg("default_browser: '%s'\n", cfg.default_browser); @@ -142,7 +145,7 @@ int main() { error->message); return 1; } - if (reqname_result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) { + if (reqname_result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) { log_msg("Another browser-switchboard already running\n"); return 1; }