diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-21 11:03:33 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-21 11:03:33 -0500 |
commit | a0dd33922d93a6972b1fe81808866c5973c7d563 (patch) | |
tree | e5cc8e42428b2f401fe8206ed66daec6f2c61a84 /src-qt5/core/lumina-desktop | |
parent | Add the ability to specify "--page <page_id>" when running lumina-config to g... (diff) | |
download | lumina-a0dd33922d93a6972b1fe81808866c5973c7d563.tar.gz lumina-a0dd33922d93a6972b1fe81808866c5973c7d563.tar.bz2 lumina-a0dd33922d93a6972b1fe81808866c5973c7d563.zip |
Add a shortcut for opening the wallpaper settings within the "preferences" menu.
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/SettingsMenu.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-desktop/SettingsMenu.cpp b/src-qt5/core/lumina-desktop/SettingsMenu.cpp index 80ef3042..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); @@ -52,7 +56,6 @@ void SettingsMenu::UpdateMenu(){ this->addAction(act); } } - this->addSeparator(); act = new QAction( LXDG::findIcon("lumina",""), tr("About Lumina"), this); act->setWhatsThis("lumina-info"); this->addAction(act); |