]> Dogcows Code - chaz/openbox/commitdiff
only show falling back msg when its true
authorDana Jansens <danakj@orodu.net>
Thu, 31 May 2007 15:41:06 +0000 (15:41 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 31 May 2007 15:41:06 +0000 (15:41 +0000)
render/theme.c

index 2b91e765418f051e3c37cb2ca960ebbcce1312fb..ed836efd058cd8914156d3f6cf5a50f97fc99649 100644 (file)
@@ -80,8 +80,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
     if (name) {
         if (!parse_load_theme(name, &ps.doc, &root, &ps.path)) {
             g_message("Unable to load the theme '%s'", name);
-            g_message("Falling back to the default theme '%s'",
-                      DEFAULT_THEME);
+            if (allow_fallback)
+                g_message("Falling back to the default theme '%s'",
+                          DEFAULT_THEME);
             /* make it fall back to default theme */
             name = NULL;
         }
This page took 0.027345 seconds and 4 git commands to generate.