move rc3 to rc.xml
This commit is contained in:
parent
d618c3bc99
commit
cf40ff8791
3 changed files with 3 additions and 3 deletions
|
@ -258,7 +258,7 @@ dist_thebear_theme_DATA = \
|
|||
## data ##
|
||||
|
||||
dist_rc_DATA = \
|
||||
data/rc3 \
|
||||
data/rc.xml \
|
||||
data/menu
|
||||
|
||||
dist_desktopfiles_DATA = \
|
||||
|
|
|
@ -55,12 +55,12 @@ gboolean parse_load_rc(xmlDocPtr *doc, xmlNodePtr *root)
|
|||
char *path;
|
||||
gboolean r = FALSE;
|
||||
|
||||
path = g_build_filename(g_get_home_dir(), ".openbox", "rc3", NULL);
|
||||
path = g_build_filename(g_get_home_dir(), ".openbox", "rc.xml", NULL);
|
||||
if (parse_load(path, "openbox_config", doc, root)) {
|
||||
r = TRUE;
|
||||
} else {
|
||||
g_free(path);
|
||||
path = g_build_filename(RCDIR, "rc3", NULL);
|
||||
path = g_build_filename(RCDIR, "rc.xml", NULL);
|
||||
if (parse_load(path, "openbox_config", doc, root)) {
|
||||
r = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue