summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-02 16:29:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-05 18:48:07 +0100
commit0d76c5b9c5cc95492f049bc748053131f33fcfd9 (patch)
tree6847eb6e0fc79e0217157d1483d071bf3ce53fe4 /bitbake/lib/bb/ui
parent5cad18b188cf51e31b9ae1ab5a1fd35eacf22d43 (diff)
downloadpoky-0d76c5b9c5cc95492f049bc748053131f33fcfd9.tar.gz
Hob: avoid the empty white space appearing on top of the gtk.ComboBox
Avoid the empty white space appearing on top of the machine selection combo box and the image selection combo box in the "Image configuration" screen [Yocto #2166] (Bitbake rev: 9d30ad56803c67d2dc7ebddd7c339038438f02ba) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index 9271c48921..d8cb7524e5 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -143,6 +143,7 @@ class ImageConfigurationPage (HobPage):
143 self.machine_title_desc.set_markup(mark) 143 self.machine_title_desc.set_markup(mark)
144 144
145 self.machine_combo = gtk.combo_box_new_text() 145 self.machine_combo = gtk.combo_box_new_text()
146 self.machine_combo.set_wrap_width(1)
146 self.machine_combo.connect("changed", self.machine_combo_changed_cb) 147 self.machine_combo.connect("changed", self.machine_combo_changed_cb)
147 148
148 icon_file = hic.ICON_LAYERS_DISPLAY_FILE 149 icon_file = hic.ICON_LAYERS_DISPLAY_FILE
@@ -191,6 +192,7 @@ class ImageConfigurationPage (HobPage):
191 self.image_title_desc.set_markup(mark) 192 self.image_title_desc.set_markup(mark)
192 193
193 self.image_combo = gtk.combo_box_new_text() 194 self.image_combo = gtk.combo_box_new_text()
195 self.image_combo.set_wrap_width(1)
194 self.image_combo_id = self.image_combo.connect("changed", self.image_combo_changed_cb) 196 self.image_combo_id = self.image_combo.connect("changed", self.image_combo_changed_cb)
195 197
196 self.image_desc = gtk.Label() 198 self.image_desc = gtk.Label()