Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-06-27 10:32:03 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-06-27 10:32:03 (GMT)
commit69ba74ddc2820379f2fe2331cf530f23db108a25 (patch)
treecf7150d36c4690e6a6ae754357938e8774778e79 /sugar
parentdb99620d939d0f1a7be1ef2c034e095851deb964 (diff)
Cleanup
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/palette.py2
1 files changed, 0 insertions, 2 deletions
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)