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