From 5bf68f762b8fc87cf5583b645b948b4fe55f179f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 22 Mar 2003 23:26:43 +0000 Subject: make the openbox engine use the new config shit instead of the themerc shit. order te startup so that plugins can set up their config shit before parsing the config, then the config is parsed, engine is loaded, and finally the plugins are officially started. --- openbox/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/config.c') diff --git a/openbox/config.c b/openbox/config.c index b9c24ded..0f6be9a3 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -27,8 +27,8 @@ void config_startup() config_def_set(config_def_new("engine", Config_String)); config_def_set(config_def_new("theme", Config_String)); config_def_set(config_def_new("font", Config_String)); + config_def_set(config_def_new("font.shadow", Config_Integer)); config_def_set(config_def_new("font.shadow.offset", Config_Integer)); - config_def_set(config_def_new("font.shadow.tint", Config_Integer)); config_def_set(config_def_new("titlebar.layout", Config_String)); /*g_datalist_foreach(&config_def, print_config, NULL);*/ @@ -54,15 +54,15 @@ void config_parse() load = TRUE; } g_free(path); - g_free(path); if (!load) { /* load the system wide rc */ path = g_build_filename(RCDIR, "rc3", NULL); if ((file = fopen(path, "r")) != NULL) { - cparse_go(path, file); + /*cparse_go(path, file);*/ fclose(file); } + g_free(path); } } -- cgit v1.2.3