projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed hide on startup preference (Francis Chin). (LP: #1642029).
[psensor.git]
/
src
/
cfg.c
diff --git
a/src/cfg.c
b/src/cfg.c
index
61e8b0c
..
d903478
100644
(file)
--- a/
src/cfg.c
+++ b/
src/cfg.c
@@
-445,6
+445,8
@@
struct config *config_load(void)
c->window_divider_pos = get_int(KEY_INTERFACE_WINDOW_DIVIDER_POS);
+ c->hide_on_startup = get_bool(KEY_INTERFACE_HIDE_ON_STARTUP);
+
if (!c->window_restore_enabled || !c->window_w || !c->window_h) {
c->window_w = 800;
c->window_h = 200;