Changed Lock Screen button to use xdg-screensaver
This commit is contained in:
parent
b1f7dd7d09
commit
4e897ee0be
@ -163,7 +163,7 @@ class pluginclass( object ):
|
||||
|
||||
if ( self.showLockScreen == True ):
|
||||
Button5 = easyButton( "system-lock-screen", self.iconsize, [_("Lock Screen")], -1, -1 )
|
||||
Button5.connect( "clicked", self.ButtonClicked, "gnome-screensaver-command --lock" )
|
||||
Button5.connect( "clicked", self.ButtonClicked, "xdg-screensaver lock" )
|
||||
Button5.show()
|
||||
self.systemBtnHolder.pack_start( Button5, False, False )
|
||||
self.mintMenuWin.setTooltip( Button5, _("Requires password to unlock") )
|
||||
|
Loading…
Reference in New Issue
Block a user