diff --git a/app/src/handlers/systemhandler.cpp b/app/src/handlers/systemhandler.cpp index dc4b823156af141a3cdb849d2dce9ec741022ae6..64540080ff06be4992a161e822694761956c2413 100644 --- a/app/src/handlers/systemhandler.cpp +++ b/app/src/handlers/systemhandler.cpp @@ -113,7 +113,7 @@ bool SystemHandler::isApplicableType(const QString &installType) const applicableTypes << "wallpapers" << "icons" << "cursors" - << "gtk3_themes" + << "gtk2_themes" << "xfwm4_themes"; } @@ -171,8 +171,8 @@ bool SystemHandler::applyFile(const QString &path, const QString &installType) c else if (installType == "cursors") { return applyXfceCursor(themeName); } - else if (installType == "gtk3_themes") { - return applyXfceGtk3Theme(themeName); + else if (installType == "gtk2_themes") { + return applyXfceGtk2Theme(themeName); } else if (installType == "xfwm4_themes") { return applyXfceXfwm4Theme(themeName); @@ -328,7 +328,7 @@ bool SystemHandler::applyXfceCursor(const QString &themeName) const return setConfigWithXfconf("xsettings", "/Gtk/CursorThemeName", themeName); } -bool SystemHandler::applyXfceGtk3Theme(const QString &themeName) const +bool SystemHandler::applyXfceGtk2Theme(const QString &themeName) const { return setConfigWithXfconf("xsettings", "/Net/ThemeName", themeName); } diff --git a/app/src/handlers/systemhandler.h b/app/src/handlers/systemhandler.h index 9b80705337717ab6476395b7749ff634af45d37b..8a346191ae947cd31c3533d7ebf1e9af01e5c1e5 100644 --- a/app/src/handlers/systemhandler.h +++ b/app/src/handlers/systemhandler.h @@ -41,7 +41,7 @@ private: bool applyXfceWallpaper(const QString &path) const; bool applyXfceIcon(const QString &themeName) const; bool applyXfceCursor(const QString &themeName) const; - bool applyXfceGtk3Theme(const QString &themeName) const; + bool applyXfceGtk2Theme(const QString &themeName) const; bool applyXfceXfwm4Theme(const QString &themeName) const; #endif };