diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/logs.c | 6 | ||||
-rw-r--r-- | src/core/params.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/logs.c b/src/core/logs.c index a723cf7..2769bd5 100644 --- a/src/core/logs.c +++ b/src/core/logs.c @@ -29,7 +29,7 @@ #include "../common/extstr.h" -#include "../gui/core/panels.h" +#include "../gui/core/items.h" #include "../gui/panels/log.h" @@ -107,11 +107,11 @@ void set_log_verbosity(LogMessageType level) void log_simple_message(LogMessageType type, const char *msg) { - GPanelItem *item; /* Eventuel affichage présent */ + GEditorItem *item; /* Eventuel affichage présent */ if (type >= _verbosity) { - item = get_panel_item_by_name(PANEL_LOG_ID); + item = find_editor_item_by_type(G_TYPE_LOG_PANEL); if (item != NULL) { diff --git a/src/core/params.c b/src/core/params.c index 7e6e1ed..25f8991 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -116,6 +116,7 @@ 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); + g_generic_config_create_group(config, "gui.panels.path", CPT_STRING); return true; |