diff options
author | q5sys <jt@xsystems.com> | 2018-02-07 14:37:49 -0500 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2018-02-07 14:37:49 -0500 |
commit | 4455528cd9cd0b0594c3bcabf619a50e64e37832 (patch) | |
tree | 309306aba1e062f095a95ae5a8e9ad1188757f3a /src-qt5/core/lumina-desktop | |
parent | Add a new "Spacer" plugin, and tinker with a lot of the panel mechanics. (diff) | |
download | lumina-4455528cd9cd0b0594c3bcabf619a50e64e37832.tar.gz lumina-4455528cd9cd0b0594c3bcabf619a50e64e37832.tar.bz2 lumina-4455528cd9cd0b0594c3bcabf619a50e64e37832.zip |
add shell logout to Lumina
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 2 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/lumina-desktop.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 111a17b6..7eafcde7 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -272,7 +272,7 @@ void LSession::NewCommunication(QStringList list){ screensChanged(); }else if(list[i]=="--show-start"){ emit StartButtonActivated(); - } + }else if(list[i]=="--logout"){ QTimer::singleShot(1000, this, SLOT(StartLogout()));} } } diff --git a/src-qt5/core/lumina-desktop/lumina-desktop.pro b/src-qt5/core/lumina-desktop/lumina-desktop.pro index e36d11a2..1c9e9268 100644 --- a/src-qt5/core/lumina-desktop/lumina-desktop.pro +++ b/src-qt5/core/lumina-desktop/lumina-desktop.pro @@ -172,6 +172,8 @@ TRANSLATIONS = i18n/lumina-desktop_af.ts \ dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/ dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/ +link.extra=ln -sf "lumina-desktop --logout" $(INSTALL_ROOT)$${L_BINDIR}/llogout + manpage.path=$${L_MANDIR}/man1/ manpage.extra="$${MAN_ZIP} $$PWD/lumina-desktop.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-desktop.1.gz" |