Changed Lock Screen button to use xdg-screensaver

This commit is contained in:
clhodapp 2009-11-02 23:03:36 +08:00 committed by Clement Lefebvre
parent b1f7dd7d09
commit 4e897ee0be

View File

@ -163,7 +163,7 @@ class pluginclass( object ):
if ( self.showLockScreen == True ): if ( self.showLockScreen == True ):
Button5 = easyButton( "system-lock-screen", self.iconsize, [_("Lock Screen")], -1, -1 ) 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() Button5.show()
self.systemBtnHolder.pack_start( Button5, False, False ) self.systemBtnHolder.pack_start( Button5, False, False )
self.mintMenuWin.setTooltip( Button5, _("Requires password to unlock") ) self.mintMenuWin.setTooltip( Button5, _("Requires password to unlock") )