diff options
author | Ken Moore <ken@ixsystems.com> | 2017-01-30 12:52:29 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-01-30 12:52:29 -0500 |
commit | d282a7d95a7c4ebd53928b39844d33c08364476d (patch) | |
tree | 6638c5bfd3c5b22d9f453d0781ad38dcd97776b6 /src-qt5/core/libLumina | |
parent | Fix up the saving of the user's default icon via lumina-config. (diff) | |
download | lumina-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.cpp | 2 | ||||
-rw-r--r-- | src-qt5/core/libLumina/DesktopSettings.h | 2 |
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(); |