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-05 00:19:19 (GMT)
committer erick <erick@sugar-dev-erick.(none)>2009-12-05 00:19:19 (GMT)
commitdbf88e0f12fe015467ecf89d95a2ba4303d9f73a (patch)
tree875d5a0f321128db76de01faca006af84b72cbd4 /tutorius/overlayer.py
parentcda15f1fffcca24286867a9064d30dec662e796b (diff)
parent9a44da4488a0ff00150eb5cb114f74ba560b96a6 (diff)
Merge branch 'master' into frame_integration
Diffstat (limited to 'tutorius/overlayer.py')
-rw-r--r--tutorius/overlayer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py
index 8c653ac..0b78c53 100644
--- a/tutorius/overlayer.py
+++ b/tutorius/overlayer.py
@@ -150,8 +150,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):