6203: typo when interrupting a gramplet

svn: r20921
This commit is contained in:
Jérôme Rapinat 2013-01-01 07:16:31 +00:00
parent 91173ba2a8
commit 0523ef0197

View File

@ -368,7 +368,7 @@ class Gramplet(object):
""" """
from gi.repository import GObject from gi.repository import GObject
self._pause = True self._pause = True
if self._idle_id == 0: if self._idle_id != 0:
GObject.source_remove(self._idle_id) GObject.source_remove(self._idle_id)
self._idle_id = 0 self._idle_id = 0