From d38bfd0baf2bd16e4ea95b4f101485812c88120e Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Tue, 2 Oct 2012 17:44:55 +0300 Subject: [PATCH] bitbake: hob: Improved behavior for error reporting window Scrollbars have now an automatic behavior, depending on the error's text size and error window size. Fixes [YOCTO #2983] (Bitbake rev: 0c0a25672498520fb2c46164f08959dda83c61e0) Signed-off-by: Cristian Iorga Signed-off-by: Richard Purdie --- 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) -- 2.7.4