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

login
register
mail settings
Submitter Ioana Grigoropol
Date April 9, 2013, 10:25 a.m.
Message ID <1365503148-26605-1-git-send-email-ioanax.grigoropol@intel.com>
Download mbox | patch
Permalink /patch/47691/
State New
Headers show

Comments

Ioana Grigoropol - April 9, 2013, 10:25 a.m.
- 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@intel.com>
---
 bitbake/lib/bb/ui/crumbs/hobwidget.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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)