diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index 1b9044c9..900b1719 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -120,8 +120,6 @@ class Palette(gobject.GObject): def _get_position(self): if self._alignment == ALIGNMENT_AUTOMATIC: x, y = self._try_position(ALIGNMENT_BOTTOM_LEFT) - if x == -1: - x, y = self._try_position(ALIGNMENT_BOTTOM_LEFT) if x == -1: x, y = self._try_position(ALIGNMENT_BOTTOM_RIGHT) if x == -1: