Skip to content

Commit 01b9c37

Browse files
deepin-ci-robotyixinshark
authored andcommitted
sync: from linuxdeepin/dde-session-shell
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#66
1 parent fb86cbe commit 01b9c37

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/session-widgets/lockcontent.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,13 +836,15 @@ void LockContent::tryGrabKeyboard(bool exitIfFailed)
836836
.path("/org/freedesktop/Notifications")
837837
.interface("org.freedesktop.Notifications")
838838
.method(QString("Notify"))
839-
#ifndef ENABLE_DSS_SNIP
839+
#ifndef ENABLE_DSS_SNIPE
840840
.arg(tr("Lock Screen"))
841+
.arg(static_cast<uint>(0))
842+
.arg(QString(""))
841843
#else
842844
.arg(QString("dde-lock")) // appName
843-
#endif
844845
.arg(static_cast<uint>(0))
845-
.arg(QString(""))
846+
.arg(QString("notification-lock-screen-failed"))
847+
#endif
846848
.arg(QString(""))
847849
.arg(tr("Failed to lock screen"))
848850
.arg(QStringList())

0 commit comments

Comments
 (0)