Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-09-25 19:27:52 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-09-25 19:27:52 (GMT)
commit5343a4d6ef5fa3a4d2b48da40f77136238e5044e (patch)
treee586fe28c1a5bd93c1c82f18cb23a4eaecd63a4f
parent6e28f4467d051ed981bcb6ec91d833c5eff34613 (diff)
Fix mixup of set_constraints() args
-rw-r--r--sugar/canvas/Menu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/canvas/Menu.py b/sugar/canvas/Menu.py
index 854d59a..b626ff2 100644
--- a/sugar/canvas/Menu.py
+++ b/sugar/canvas/Menu.py
@@ -16,7 +16,7 @@ class Menu(gtk.Window):
gtk.Window.__init__(self, gtk.WINDOW_POPUP)
self._width = 15
- self._height = 0
+ self._height = 3
self._grid = grid
self._action_box = None
@@ -32,7 +32,7 @@ class Menu(gtk.Window):
text = goocanvas.Text(text=title, font="Sans bold 18",
fill_color='white', anchor=gtk.ANCHOR_SW)
- self._grid.set_constraints(text, 1, 3, self._width, self._height)
+ self._grid.set_constraints(text, 1, self._height, self._width, 2)
self._root.add_child(text)
self._height += 1