Make _entry_handler_id not be a static class attribute because it doesn't need to be

This commit is contained in:
Chris Jones 2009-09-03 09:03:37 +01:00
parent 9bac025795
commit 799d508708
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class EditableLabel(gtk.EventBox):
_autotext = None _autotext = None
_custom = None _custom = None
_entry = None _entry = None
_entry_handler_id = [] _entry_handler_id = None
__gsignals__ = { __gsignals__ = {
'edit-done': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()), 'edit-done': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
@ -43,6 +43,7 @@ class EditableLabel(gtk.EventBox):
gtk.EventBox.__init__(self) gtk.EventBox.__init__(self)
self.__gobject_init__() self.__gobject_init__()
self._entry_handler_id = []
self._label = gtk.Label(text) self._label = gtk.Label(text)
self._custom = False self._custom = False
self.set_visible_window (False) self.set_visible_window (False)