diff options
-rw-r--r-- | port-files/FreeBSD/x11/lumina-core/pkg-plist | 1 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 2 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/lumina-desktop.pro | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/port-files/FreeBSD/x11/lumina-core/pkg-plist b/port-files/FreeBSD/x11/lumina-core/pkg-plist index 9aad7f66..9942795f 100644 --- a/port-files/FreeBSD/x11/lumina-core/pkg-plist +++ b/port-files/FreeBSD/x11/lumina-core/pkg-plist @@ -4,6 +4,7 @@ bin/lumina-desktop bin/lumina-info bin/lumina-open bin/start-lumina-desktop +bin/llogout etc/luminaDesktop.conf.dist lib/qt5/plugins/platformthemes/liblthemeengine.so lib/qt5/plugins/styles/liblthemeengine-style.so 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" |