add support for suspend button. resolves T112

ubuntu/eoan
Walter Lapchynski 5 years ago
parent 8d252238a4
commit 590321e0c6

6
debian/changelog vendored

@ -1,3 +1,9 @@
lubuntu-artwork (19.04.3) eoan; urgency=medium
* Add support for suspend button.
-- Walter Lapchynski <wxl@ubuntu.com> Sat, 17 Aug 2019 14:38:36 -0700
lubuntu-artwork (19.04.2) disco; urgency=medium
* Provide lxqt-branding so the Debian LXQt branding is not pulled in.

@ -221,13 +221,22 @@ Rectangle {
dateFont.pixelSize: 12
}
ImageButton {
id: btnSuspend
height: parent.height
source: "suspend.png"
visible: sddm.canSuspend
onClicked: sddm.suspend()
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: btnReboot
}
ImageButton {
id: btnReboot
height: parent.height
source: "reboot.png"
visible: sddm.canReboot
onClicked: sddm.reboot()
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: btnShutdown
KeyNavigation.backtab: btnSuspend; KeyNavigation.tab: btnShutdown
}
ImageButton {

Loading…
Cancel
Save