From c14688d67a82b7ec7746beda90da915c98600a3d Mon Sep 17 00:00:00 2001 From: erick Date: Sat, 05 Dec 2009 21:03:59 +0000 Subject: Merge branch 'frame_integration' into revamped_dragndrop Conflicts: tutorius/actions.py --- (limited to 'tutorius/overlayer.py') diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py index fcb6974..9cd840b 100644 --- a/tutorius/overlayer.py +++ b/tutorius/overlayer.py @@ -157,8 +157,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