From 799d508708bcf95e151628b2b45e91d967beeb11 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 3 Sep 2009 09:03:37 +0100 Subject: [PATCH] Make _entry_handler_id not be a static class attribute because it doesn't need to be --- terminatorlib/editablelabel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminatorlib/editablelabel.py b/terminatorlib/editablelabel.py index d997c2e7..a0abbcc4 100644 --- a/terminatorlib/editablelabel.py +++ b/terminatorlib/editablelabel.py @@ -32,7 +32,7 @@ class EditableLabel(gtk.EventBox): _autotext = None _custom = None _entry = None - _entry_handler_id = [] + _entry_handler_id = None __gsignals__ = { 'edit-done': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()), @@ -43,6 +43,7 @@ class EditableLabel(gtk.EventBox): gtk.EventBox.__init__(self) self.__gobject_init__() + self._entry_handler_id = [] self._label = gtk.Label(text) self._custom = False self.set_visible_window (False)