Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/overlayer.py
diff options
context:
space:
mode:
authorerick <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)
commit10ca5c12fb0dc7108eace0a82b1aa6363829e3d3 (patch)
tree186d57a8d952f9d3bfedca62a678846b638e72ec /tutorius/overlayer.py
parentd1a5eef9dfe2ff358cda012c7c4d32a8084df358 (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.py3
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):