diff options
author | Simon Poirier <simpoir@gmail.com> | 2009-10-24 21:18:52 (GMT) |
---|---|---|
committer | Simon Poirier <simpoir@gmail.com> | 2009-10-24 21:18:52 (GMT) |
commit | a6e312c9f0e1bd690963191bb5331eaabb06b431 (patch) | |
tree | a9f8589299de7bf09291e94e533005dc0cee7f10 /tutorius/overlayer.py | |
parent | 704e35494433a11ecdcf675fff7cfccaa8bbd2ec (diff) |
creator with viewer and non-linear editing.
Conflicts:
tutorius/creator.py
Diffstat (limited to 'tutorius/overlayer.py')
-rw-r--r-- | tutorius/overlayer.py | 4 |
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() |