From patchwork Tue Oct 2 14:44:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] hob: Improved behavior for error reporting window Date: Tue, 02 Oct 2012 14:44:55 -0000 From: Cristian Iorga X-Patchwork-Id: 37613 Message-Id: <1349189095-24862-1-git-send-email-cristian.iorga@intel.com> To: bitbake-devel@lists.openembedded.org Scrollbars have now an automatic behavior, depending on the error's text size and error window size. Fixes [YOCTO #2983] Signed-off-by: Cristian Iorga --- bitbake/lib/bb/ui/crumbs/hig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index c5307df..c7a50ba 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -280,6 +280,7 @@ class CrumbsMessageDialog(CrumbsDialog): self.label_long.show() self.textWindow = gtk.ScrolledWindow() self.textWindow.set_shadow_type(gtk.SHADOW_IN) + self.textWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) self.msgView = gtk.TextView() self.msgView.set_editable(False) self.msgView.set_wrap_mode(gtk.WRAP_WORD)