~fboucault/moovida/images_url_in_styles

« back to all changes in this revision

Viewing changes to elisa-plugins/elisa/plugins/gnome/gnome_screensaver_service.py

un-inhibit screensaver is media player is paused

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
        self.debug("%s changed state to %s" % (player, status))
158
158
        if status == player.PLAYING and not self._pm_cookie:
159
159
            self._inhibit('playing media')
160
 
        elif status == player.STOPPED and self._pm_cookie:
 
160
        elif status in (player.STOPPED, player.PAUSED) and self._pm_cookie:
161
161
            self._un_inhibit()