From 97ab8920518e21a1b5a4e67cde1f363e82d64194 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Sun, 9 May 2021 22:09:01 +0200 Subject: [PATCH] renamed printWMThemeFromConfig to keep consistency --- src/modules/wmtheme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/wmtheme.c b/src/modules/wmtheme.c index ff16971c4..9b9a5d189 100644 --- a/src/modules/wmtheme.c +++ b/src/modules/wmtheme.c @@ -19,7 +19,7 @@ static void printWMTheme(FFinstance* instance, const char* theme) } } -static void printWMThemeFromConfig(FFinstance* instance, const char* configFile, const char* themeRegex, const char* defaultValue) +static void printWMThemeFromConfigFile(FFinstance* instance, const char* configFile, const char* themeRegex, const char* defaultValue) { char theme[256]; @@ -165,9 +165,9 @@ void ffPrintWMTheme(FFinstance* instance) } if(ffStrbufIgnCaseCompS(&result->wmPrettyName, "KWin") == 0 || ffStrbufIgnCaseCompS(&result->wmPrettyName, "KDE") == 0 || ffStrbufIgnCaseCompS(&result->wmPrettyName, "Plasma") == 0) - printWMThemeFromConfig(instance, "kwinrc", " theme=%s", "Breeze"); + printWMThemeFromConfigFile(instance, "kwinrc", " theme=%s", "Breeze"); else if(ffStrbufIgnCaseCompS(&result->wmPrettyName, "Xfwm4") == 0 || ffStrbufIgnCaseCompS(&result->wmPrettyName, "Xfwm") == 0) - printWMThemeFromConfig(instance, "xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml", " wmPrettyName, "Mutter") == 0 || ffStrbufIgnCaseCompS(&result->wmPrettyName, "Gnome") == 0 || ffStrbufIgnCaseCompS(&result->wmPrettyName, "Ubuntu") == 0) printMutter(instance); else if(ffStrbufIgnCaseCompS(&result->wmPrettyName, "Muffin") == 0)