[bitbake-devel] [PATCH] hob:Only display scrolled list of images if needed

Ioana Grigoropol ioanax.grigoropol at intel.com
Tue Apr 9 10:25:48 UTC 2013


- do not set the Images window to always display a scroll bar if it is not needed

[Yocto #4171]
Signed-off-by: Ioana Grigoropol <ioanax.grigoropol at intel.com>
---
 bitbake/lib/bb/ui/crumbs/hobwidget.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 1d1ae1a..f482a26 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -142,7 +142,7 @@ class HobViewTable (gtk.VBox):
                     col.add_attribute(cell, 'font', column['col_t_id'])
 
         self.scroll = gtk.ScrolledWindow()
-        self.scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
+        self.scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
         self.scroll.add(self.table_tree)
 
         self.pack_end(self.scroll, True, True, 0)
-- 
1.7.9.5





More information about the bitbake-devel mailing list