Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar3/graphics/palette.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar3/graphics/palette.py')
-rw-r--r--src/sugar3/graphics/palette.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar3/graphics/palette.py b/src/sugar3/graphics/palette.py
index 6c24d27..b23a28d 100644
--- a/src/sugar3/graphics/palette.py
+++ b/src/sugar3/graphics/palette.py
@@ -67,8 +67,8 @@ class Palette(PaletteWindow):
primary_box.pack_start(self._icon_box, False, True, 0)
labels_box = Gtk.VBox()
- self._label_alignment = Gtk.Alignment.new(xalign=0, yalign=0.5,
- xscale=1, yscale=0.33)
+ self._label_alignment = Gtk.Alignment(xalign=0, yalign=0.5, xscale=1,
+ yscale=0.33)
self._label_alignment.set_padding(0, 0, style.DEFAULT_SPACING,
style.DEFAULT_SPACING)
self._label_alignment.add(labels_box)