6203: typo when interrupting a gramplet

svn: r20922
This commit is contained in:
Jérôme Rapinat 2013-01-01 07:18:47 +00:00
parent 26f09455d5
commit c4b7cda610

View File

@ -365,7 +365,7 @@ class Gramplet(object):
"""
import gobject
self._pause = True
if self._idle_id == 0:
if self._idle_id != 0:
gobject.source_remove(self._idle_id)
self._idle_id = 0