From a6e312c9f0e1bd690963191bb5331eaabb06b431 Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Sat, 24 Oct 2009 21:18:52 +0000 Subject: creator with viewer and non-linear editing. Conflicts: tutorius/creator.py --- (limited to 'tutorius/overlayer.py') 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() -- cgit v0.9.1