From 69ba74ddc2820379f2fe2331cf530f23db108a25 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 27 Jun 2007 12:32:03 +0200 Subject: [PATCH] Cleanup --- sugar/graphics/palette.py | 2 -- 1 file changed, 2 deletions(-) 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: