From c4b7cda6100f5a5a82b8440984234e4119551b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 1 Jan 2013 07:18:47 +0000 Subject: [PATCH] 6203: typo when interrupting a gramplet svn: r20922 --- src/gen/plug/_gramplet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/plug/_gramplet.py b/src/gen/plug/_gramplet.py index 8db648421..892087874 100644 --- a/src/gen/plug/_gramplet.py +++ b/src/gen/plug/_gramplet.py @@ -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