aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/SettingsMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop/SettingsMenu.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/SettingsMenu.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src-qt5/core/lumina-desktop/SettingsMenu.cpp b/src-qt5/core/lumina-desktop/SettingsMenu.cpp
index 10ada2cf..58208931 100644
--- a/src-qt5/core/lumina-desktop/SettingsMenu.cpp
+++ b/src-qt5/core/lumina-desktop/SettingsMenu.cpp
@@ -30,12 +30,16 @@ void SettingsMenu::UpdateMenu(){
QAction *act = new QAction(LXDG::findIcon("preferences-desktop-screensaver",""), tr("Screensaver"), this);
act->setWhatsThis("xscreensaver-demo");
this->addAction(act);
- act = new QAction( LXDG::findIcon("preferences-desktop",""), tr("Desktop"), this);
- act->setWhatsThis("lumina-config");
+ act = new QAction( LXDG::findIcon("preferences-desktop-wallpaper",""), tr("Wallpaper"), this);
+ act->setWhatsThis("lumina-config --page wallpaper");
this->addAction(act);
act = new QAction( LXDG::findIcon("preferences-other",""), tr("Display"), this);
act->setWhatsThis("lumina-xconfig");
this->addAction(act);
+ act = new QAction( LXDG::findIcon("preferences-desktop",""), tr("All Desktop Settings"), this);
+ act->setWhatsThis("lumina-config");
+ this->addAction(act);
+ this->addSeparator();
/*QString qtconfig = LOS::QtConfigShortcut();
if(QFile::exists(qtconfig) && !qtconfig.isEmpty()){
act = new QAction( LXDG::findIcon("preferences-desktop-theme",""), tr("Window Theme"), this);
@@ -45,15 +49,13 @@ void SettingsMenu::UpdateMenu(){
QString CONTROLPANEL = LOS::ControlPanelShortcut();
if(QFile::exists(CONTROLPANEL) && !CONTROLPANEL.isEmpty()){
//Now load the info
- bool ok = false;
- XDGDesktop cpan = LXDG::loadDesktopFile(CONTROLPANEL, ok);
- if(ok){
+ XDGDesktop cpan(CONTROLPANEL);
+ if(cpan.isValid()){
act = new QAction( LXDG::findIcon(cpan.icon,""), tr("Control Panel"), this);
act->setWhatsThis("lumina-open \""+CONTROLPANEL+"\"");
this->addAction(act);
}
}
- this->addSeparator();
act = new QAction( LXDG::findIcon("lumina",""), tr("About Lumina"), this);
act->setWhatsThis("lumina-info");
this->addAction(act);
bgstack15