only show falling back msg when its true
This commit is contained in:
parent
5588c49335
commit
e4b162d470
1 changed files with 3 additions and 2 deletions
|
@ -80,6 +80,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
|
||||||
if (name) {
|
if (name) {
|
||||||
if (!parse_load_theme(name, &ps.doc, &root, &ps.path)) {
|
if (!parse_load_theme(name, &ps.doc, &root, &ps.path)) {
|
||||||
g_message("Unable to load the theme '%s'", name);
|
g_message("Unable to load the theme '%s'", name);
|
||||||
|
if (allow_fallback)
|
||||||
g_message("Falling back to the default theme '%s'",
|
g_message("Falling back to the default theme '%s'",
|
||||||
DEFAULT_THEME);
|
DEFAULT_THEME);
|
||||||
/* make it fall back to default theme */
|
/* make it fall back to default theme */
|
||||||
|
|
Loading…
Reference in a new issue