Mavit: any clue as to how to put back the default sleep button behavior if the user unchecks the 'handle sleep button' setting? (Short of restarting the server, that is?)
I'm managed to kludge a fix to this by just duplicating the default code from Slim::Buttons::Common in a new sub in the plugin. I assume there is a much, much more elegant way to do that. I tried $gfuncDefSleepBtn = Slim::Buttons::Common::getFunction( $client, 'sleep'); ..but that didn't work at all. Any ideas? -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
