diff options
-rw-r--r-- | clMonty.py | 2 | ||||
-rw-r--r-- | plugins/Shortcuts.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -69,7 +69,7 @@ class Monty(QtCore.QObject): self._updateLib() self._updatePlaylist() self._updateCurrentSong() - self._timerID=self.startTimer(200) + self._timerID=self.startTimer(500) except Exception: print_exc() self._raiseEvent('onStateChange', {'oldState':'stop', 'newState':self.getStatus()['state']}) diff --git a/plugins/Shortcuts.py b/plugins/Shortcuts.py index 99cf6d6..f8956f5 100644 --- a/plugins/Shortcuts.py +++ b/plugins/Shortcuts.py @@ -17,6 +17,7 @@ class pluginShortcuts(Plugin): Plugin.__init__(self, winMain, 'Shortcuts') def _load(self): + return self.disp=Display() self.root=self.disp.screen().root self.root.change_attributes(event_mask=X.KeyPressMask) |