6203: typo when interrupting a gramplet
svn: r20921
This commit is contained in:
parent
91173ba2a8
commit
0523ef0197
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user