Skip to contentSkip to conversation

hob:Only display scrolled list of images if needed

PATCH New Ioana Grigoropol 1 participant 1 message Apr 9, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hob:Only display scrolled list of images if needed

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

[Yocto #4171]
---
 bitbake/lib/bb/ui/crumbs/hobwidget.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/ui/crumbs/hobwidget.py +1 -1
index 1d1ae1a..f482a26 100644
@@ -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)
Signature · 1 line
1.7.9.5