tuikit/window.py
changeset 76 fa5301e58eca
parent 71 cfd3445107b4
child 77 fc1989059e19
--- a/tuikit/window.py	Fri Feb 01 09:34:15 2013 +0100
+++ b/tuikit/window.py	Sat Feb 02 12:54:27 2013 +0100
@@ -108,9 +108,9 @@
                         self.sizereq.h + ev.rely)
             # AnchorLayout, right/bottom align
             # also move the window so that it visualy stays in place
-            if 'halign' in self.hints and self.hints['halign'].selected == 'right':
+            if 'halign' in self._hints and self.hint_value('halign') == 'right':
                 self.move(x = self.x + ev.relx)
-            if 'valign' in self.hints and self.hints['valign'].selected == 'bottom':
+            if 'valign' in self._hints and self.hint_value('valign') == 'bottom':
                 self.move(y = self.y + ev.rely)
         elif self._moving:
             self.move(self.x + ev.relx,