summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/params.c2
-rw-r--r--src/gui/panels/panel.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/params.c b/src/core/params.c
index 9cb540e..3d0880a 100644
--- a/src/core/params.c
+++ b/src/core/params.c
@@ -227,6 +227,8 @@ bool load_main_config_parameters(void)
g_generic_config_create_group(config, "gui.panels.positions", CPT_INTEGER);
+ g_generic_config_create_group(config, "gui.panels.dock_at_startup", CPT_BOOLEAN);
+
return true;
}
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c
index e359962..a0965f1 100644
--- a/src/gui/panels/panel.c
+++ b/src/gui/panels/panel.c
@@ -465,7 +465,7 @@ static char *gtk_panel_item_build_configuration_key(const GPanelItem *item, cons
name = g_editor_item_get_name(G_EDITOR_ITEM(item));
- asprintf(&result, "gui.panels.%s.%s", name, attrib);
+ asprintf(&result, "gui.panels.%s.%s", attrib, name);
result = strrpl(result, " ", "_");