aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-01-30 12:52:29 -0500
committerKen Moore <ken@ixsystems.com>2017-01-30 12:52:29 -0500
commitd282a7d95a7c4ebd53928b39844d33c08364476d (patch)
tree6638c5bfd3c5b22d9f453d0781ad38dcd97776b6 /src-qt5/core/libLumina
parentFix up the saving of the user's default icon via lumina-config. (diff)
downloadlumina-d282a7d95a7c4ebd53928b39844d33c08364476d.tar.gz
lumina-d282a7d95a7c4ebd53928b39844d33c08364476d.tar.bz2
lumina-d282a7d95a7c4ebd53928b39844d33c08364476d.zip
Get the next phase of Lumina2 working: The context menu for the desktop itself.
While not fully up to where the current contextmenu for Lumina is yet, it can be used for logging out, locking the screen, and launching commands (so far - will gradually add back in the other plugins/functionality later after these steps are used for more testing of other components).
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/DesktopSettings.cpp2
-rw-r--r--src-qt5/core/libLumina/DesktopSettings.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/DesktopSettings.cpp b/src-qt5/core/libLumina/DesktopSettings.cpp
index cd85df5e..30bd5bc2 100644
--- a/src-qt5/core/libLumina/DesktopSettings.cpp
+++ b/src-qt5/core/libLumina/DesktopSettings.cpp
@@ -222,6 +222,8 @@ QString DesktopSettings::rel_path(DesktopSettings::File file){
name="session"; break;
case DesktopSettings::Desktop:
name="desktop"; break;
+ case DesktopSettings::ContextMenu:
+ name="contextmenu"; break;
case DesktopSettings::Keys:
name="keys"; break;
case DesktopSettings::Theme:
diff --git a/src-qt5/core/libLumina/DesktopSettings.h b/src-qt5/core/libLumina/DesktopSettings.h
index 737fd6af..57eede9d 100644
--- a/src-qt5/core/libLumina/DesktopSettings.h
+++ b/src-qt5/core/libLumina/DesktopSettings.h
@@ -25,7 +25,7 @@
class DesktopSettings : public QObject{
Q_OBJECT
public:
- enum File{ System, Favorites, Environment, Session, Desktop, Keys, Theme };
+ enum File{ System, Favorites, Environment, Session, Desktop, ContextMenu, Keys, Theme };
DesktopSettings(QObject *parent = 0);
~DesktopSettings();
bgstack15