Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2011-12-06 18:02:58 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-12-06 18:02:58 (GMT)
commit5dedbe0c764888f773bc6447e9fc10bff906fc0a (patch)
tree1532313936b4e0cf5947bcadcdfd57f54a7b3381
parentff3d935cedc05d61b656b21e6fdb307cf98153a6 (diff)
ColorPalette: fix packing of widgets
The pygi-convert.sh migration script did translate that packing wrongly because we pass the constructor as first argument.
-rw-r--r--src/sugar3/graphics/colorbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar3/graphics/colorbutton.py b/src/sugar3/graphics/colorbutton.py
index 166654d..ac7984a 100644
--- a/src/sugar3/graphics/colorbutton.py
+++ b/src/sugar3/graphics/colorbutton.py
@@ -260,8 +260,8 @@ class _ColorPalette(Palette):
self._swatch_tray = Gtk.Table()
self._picker_hbox.pack_start(self._swatch_tray, True, True, 0)
- self._picker_hbox.pack_start(Gtk.VSeparator(, True, True, 0),
- padding=style.DEFAULT_SPACING)
+ self._picker_hbox.pack_start(Gtk.VSeparator(), True, True,
+ style.DEFAULT_SPACING)
self._chooser_table = Gtk.Table(3, 2)
self._chooser_table.set_col_spacing(0, style.DEFAULT_PADDING)