Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/overlayer.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-11-04 15:20:30 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-11-04 15:20:30 (GMT)
commit0db118e6320d157748fad0b4d7a31beebcf5b301 (patch)
tree80fc57cfbb02a82cbcf58f0d0e4e2c41cfa190df /tutorius/overlayer.py
parent58a99dcf76cb1a9f85fa2873f9a2e7b46470ae8b (diff)
parentd50c3cd98d6e99c7311286559136dc1a775a326d (diff)
Merge branch 'master' of git://git.sugarlabs.org/tutorius/mainline
Diffstat (limited to 'tutorius/overlayer.py')
-rw-r--r--tutorius/overlayer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py
index 0a3d542..b967739 100644
--- a/tutorius/overlayer.py
+++ b/tutorius/overlayer.py
@@ -58,7 +58,7 @@ class Overlayer(gtk.Layout):
@param overlayed widget to be overlayed. Will be resized to full size.
"""
def __init__(self, overlayed=None):
- gtk.Layout.__init__(self)
+ super(Overlayer, self).__init__()
self._overlayed = overlayed
if overlayed:
@@ -83,7 +83,7 @@ class Overlayer(gtk.Layout):
if hasattr(child, "draw_with_context"):
# if the widget has the CanvasDrawable protocol, use it.
child.no_expose = True
- gtk.Layout.put(self, child, x, y)
+ super(Overlayer, self).put(child, x, y)
# be sure to redraw or the overlay may not show
self.queue_draw()