summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-31 15:41:06 +0000
committerDana Jansens <danakj@orodu.net>2007-05-31 15:41:06 +0000
commite4b162d470bfbb04035bb9b3f4481fb9d171fda2 (patch)
tree8d6eb466843de16a6f721b53cb5a8f0b232bff15 /render/theme.c
parent5588c493355878e8243f889ec4225c02f044e822 (diff)
only show falling back msg when its true
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index 2b91e765..ed836efd 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -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;
}