From 69ba74ddc2820379f2fe2331cf530f23db108a25 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 27 Jun 2007 10:32:03 +0000 Subject: Cleanup --- (limited to 'sugar') diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index 1b9044c..900b171 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -121,8 +121,6 @@ class Palette(gobject.GObject): 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: x, y = self._try_position(ALIGNMENT_LEFT_BOTTOM) -- cgit v0.9.1