From 10ca5c12fb0dc7108eace0a82b1aa6363829e3d3 Mon Sep 17 00:00:00 2001 From: erick Date: Sun, 06 Dec 2009 19:58:12 +0000 Subject: Removed unused changes in tutorius/editor.py and merge artifacts for tutorius/overlayer.py --- (limited to 'tutorius/overlayer.py') diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py index 5454b39..96e9acf 100644 --- a/tutorius/overlayer.py +++ b/tutorius/overlayer.py @@ -158,7 +158,8 @@ class Overlayer(gtk.Layout): # Since widget is laid out in a Layout box, the Layout will honor the # requested size. Using size_allocate could make a nasty nested loop in # some cases. - self._overlayed.set_size_request(allocation.width, allocation.height) + if self._overlayed: + self._overlayed.set_size_request(allocation.width, allocation.height) class FrameOverlayer(gtk.Window): def __init__(self): -- cgit v0.9.1