diff options
author | erick <erick@sugar-dev-erick.(none)> | 2009-12-06 19:58:12 (GMT) |
---|---|---|
committer | erick <erick@sugar-dev-erick.(none)> | 2009-12-06 19:58:12 (GMT) |
commit | 10ca5c12fb0dc7108eace0a82b1aa6363829e3d3 (patch) | |
tree | 186d57a8d952f9d3bfedca62a678846b638e72ec /tutorius/overlayer.py | |
parent | d1a5eef9dfe2ff358cda012c7c4d32a8084df358 (diff) |
Removed unused changes in tutorius/editor.py and merge artifacts for tutorius/overlayer.py
Diffstat (limited to 'tutorius/overlayer.py')
-rw-r--r-- | tutorius/overlayer.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |