move rc3 to rc.xml
authorDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 17:01:21 +0000 (17:01 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 17:01:21 +0000 (17:01 +0000)
Makefile.am
data/rc.xml [moved from data/rc3 with 100% similarity]
parser/parse.c

index 96f3cb1..1465e50 100644 (file)
@@ -258,7 +258,7 @@ dist_thebear_theme_DATA = \
 ## data ##
 
 dist_rc_DATA = \
-       data/rc3 \
+       data/rc.xml \
        data/menu
 
 dist_desktopfiles_DATA = \
similarity index 100%
rename from data/rc3
rename to data/rc.xml
index 8ae2ec9..75bc3a3 100644 (file)
@@ -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;
         }