summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-03-21 11:15:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 14:40:40 +0000
commitb8cbd7e4459e091a075e68d5acacf34487405786 (patch)
tree5526120842d950879bed9e901dc5831489d67f57 /bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
parent9e8e02c1f5d6ee83a690db800490ba56c0e6404a (diff)
downloadpoky-b8cbd7e4459e091a075e68d5acacf34487405786.tar.gz
Hob: Change "View Packages" description
Change 'View Packages' button description from 'Add/remove packages' to 'Add/remove previously built packages to/from your image'. And we adjust the size to make "View Packages" button fit into the window. [Yocto #2146] (From Poky rev: 279dbff3ef9f8e8bc58b86f8c4f5ffe70d4a2e8b) (Bitbake rev: 594f5936c2450d596967f062c14434f5357cb5aa) 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/crumbs/imageconfigurationpage.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index b0f0213091..c1372ad2dd 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -200,7 +200,7 @@ class ImageConfigurationPage (HobPage):
200 icon_file = hic.ICON_PACKAGES_DISPLAY_FILE 200 icon_file = hic.ICON_PACKAGES_DISPLAY_FILE
201 hover_file = hic.ICON_PACKAGES_HOVER_FILE 201 hover_file = hic.ICON_PACKAGES_HOVER_FILE
202 self.view_packages_button = HobXpmLabelButtonBox(icon_file, hover_file, 202 self.view_packages_button = HobXpmLabelButtonBox(icon_file, hover_file,
203 "View Packages", "Add/remove packages") 203 "View Packages", "Add/remove previously built packages to/from your image")
204 self.view_packages_button.connect("button-release-event", self.view_packages_button_clicked_cb) 204 self.view_packages_button.connect("button-release-event", self.view_packages_button_clicked_cb)
205 205
206 self.image_separator = gtk.HSeparator() 206 self.image_separator = gtk.HSeparator()
@@ -213,8 +213,8 @@ class ImageConfigurationPage (HobPage):
213 self.gtable.attach(self.image_separator, 0, 40, 35, 36) 213 self.gtable.attach(self.image_separator, 0, 40, 35, 36)
214 214
215 def set_rcppkg_layout(self): 215 def set_rcppkg_layout(self):
216 self.gtable.attach(self.view_recipes_button, 0, 20, 28, 32) 216 self.gtable.attach(self.view_recipes_button, 0, 18, 28, 32)
217 self.gtable.attach(self.view_packages_button, 20, 40, 28, 32) 217 self.gtable.attach(self.view_packages_button, 18, 40, 28, 32)
218 218
219 def create_config_build_button(self): 219 def create_config_build_button(self):
220 # Create the "Build packages" and "Just bake" buttons at the bottom 220 # Create the "Build packages" and "Just bake" buttons at the bottom