projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore webpages
[browser-switch]
/
main.c
diff --git
a/main.c
b/main.c
index
a6d2c89
..
2e19b84
100644
(file)
--- 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)
/* 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
#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);
} 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);
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;
}
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;
}
log_msg("Another browser-switchboard already running\n");
return 1;
}