[Sugar-devel] [PATCH 17/21 sugar-toolkit] pylint cleanup: initialise all attributes in __init__()

Sascha Silbe sascha-pgp at silbe.org
Fri Oct 15 17:01:21 EDT 2010


Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>

diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py
index fcdc2e3..81540e3 100644
--- a/src/sugar/graphics/palettewindow.py
+++ b/src/sugar/graphics/palettewindow.py
@@ -147,6 +147,7 @@ class PaletteWindow(gtk.Window):
         self._alignment = None
         self._up = False
         self._old_alloc = None
+        self._palette_state = None

         self._popup_anim = animator.Animator(.5, 10)
         self._popup_anim.add(_PopupAnimation(self))
--
1.7.1



More information about the Sugar-devel mailing list