From bf9863518213fea4003e4d95743db6ffdf3ae29c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 18 Sep 2017 08:58:59 -0400 Subject: Deactivate the "themes" page within lumina-config. Replace that button with one that launches the theme engine config tool. --- src-qt5/core-utils/lumina-config/pages/getPage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src-qt5/core-utils/lumina-config/pages/getPage.cpp') diff --git a/src-qt5/core-utils/lumina-config/pages/getPage.cpp b/src-qt5/core-utils/lumina-config/pages/getPage.cpp index 79eb18f6..7274ae3f 100644 --- a/src-qt5/core-utils/lumina-config/pages/getPage.cpp +++ b/src-qt5/core-utils/lumina-config/pages/getPage.cpp @@ -9,7 +9,7 @@ //Add any sub-pages here #include "page_main.h" #include "page_wallpaper.h" -#include "page_theme.h" +//#include "page_theme.h" #include "page_autostart.h" #include "page_defaultapps.h" #include "page_fluxbox_keys.h" @@ -40,7 +40,7 @@ QList Pages::KnownPages(){ QList list; //Reminder: , , , <icon>, <comment>, <category>, <server subsytem list>, <search tags> list << Pages::PageInfo("wallpaper", QObject::tr("Wallpaper"), QObject::tr("Wallpaper Settings"), "preferences-desktop-wallpaper",QObject::tr("Change background image(s)"), "appearance", QStringList(), QStringList() << "background" << "wallpaper" << "color" << "image"); - list << Pages::PageInfo("theme", QObject::tr("Theme"), QObject::tr("Theme Settings"), "preferences-desktop-theme",QObject::tr("Change interface fonts and colors"), "appearance", QStringList(), QStringList() << "background" << "interface" << "color" << "theme" << "plugins"); + list << Pages::PageInfo(LUtils::AppToAbsolute("lthemeengine.desktop"), QObject::tr("Theme"), QObject::tr("Theme Settings"), "preferences-desktop-theme",QObject::tr("Change interface fonts and colors"), "appearance", QStringList(), QStringList() << "background" << "interface" << "color" << "theme" << "plugins"); list << Pages::PageInfo("compton", QObject::tr("Window Effects"), QObject::tr("Window Effects"), "window-duplicate",QObject::tr("Adjust transparency levels and window effects"), "appearance", QStringList(), QStringList() << "background" << "interface" << "color" << "transparency" << "windows" << "compositing"); list << Pages::PageInfo("autostart", QObject::tr("Autostart"), QObject::tr("Startup Settings"), "preferences-system-session-services",QObject::tr("Automatically start applications or services"), "session", QStringList(), QStringList() << "apps" << "autostart" << "services" << "xdg" << "startup" << "session"); list << Pages::PageInfo("defaultapps", QObject::tr("Applications"), QObject::tr("Mimetype Settings"), "preferences-desktop-default-applications",QObject::tr("Change default applications"), "session", QStringList(), QStringList() << "apps" << "default" << "services" << "xdg" << "session"); @@ -61,7 +61,7 @@ PageWidget* Pages::GetNewPage(QString id, QWidget *parent){ //Find the page that matches this "id" PageWidget* page = 0; if(id=="wallpaper"){ page = new page_wallpaper(parent); } - else if(id=="theme"){ page = new page_theme(parent); } + //else if(id=="theme"){ page = new page_theme(parent); } else if(id=="autostart"){ page = new page_autostart(parent); } else if(id=="defaultapps"){ page = new page_defaultapps(parent); } else if(id=="fluxbox-keys"){ page = new page_fluxbox_keys(parent); } -- cgit