]> git.mdlowis.com Git - proto/labwc.git/commitdiff
rcxml: do not try to use theme Clearlooks-3.4
authorJohan Malm <jgm323@gmail.com>
Mon, 28 Jun 2021 19:48:55 +0000 (20:48 +0100)
committerJohan Malm <jgm323@gmail.com>
Mon, 28 Jun 2021 19:48:55 +0000 (20:48 +0100)
If no theme is specified in rc.xml, just use built-in theme

src/config/rcxml.c
src/theme.c

index 6dc409550532f7789df40a8aed2cd073253cef38..e9efbe9fe9749c1e5be722b11c4a603debe92bb7 100644 (file)
@@ -250,9 +250,6 @@ post_processing(void)
                bind("A-F3", "Execute", "bemenu-run");
        }
 
-       if (!rc.theme_name) {
-               rc.theme_name = strdup("Clearlooks-3.4");
-       }
        if (!rc.font_name_activewindow) {
                rc.font_name_activewindow = strdup("sans");
        }
index eaf36cc0cabd0ffd102911dce934a52575985f37..1434938cc6da01c3a0faa60cfdef99a3a9a79667 100644 (file)
@@ -178,7 +178,10 @@ theme_read(struct theme *theme, const char *theme_name)
                stream = fopen(themerc, "r");
        }
        if (!stream) {
-               info("cannot find theme (%s), using built-in", theme_name);
+               if (theme_name) {
+                       info("cannot find theme (%s), using built-in",
+                            theme_name);
+               }
                theme_builtin(theme);
                return;
        }