diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-09 16:42:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 00:04:43 +0100 |
commit | f9d7043b6280ecbab8e71899bf19bc85f7a40f44 (patch) | |
tree | 6b14c71911332bc2f163f40b995d022f7bfcbf56 /bitbake | |
parent | 4c72ee98c2b3dcc642f7904f4ffeab5100305e8f (diff) | |
download | poky-f9d7043b6280ecbab8e71899bf19bc85f7a40f44.tar.gz |
Hob: Fix tooltips in image configuration page
This fixes [YOCTO #2228]
(Bitbake rev: f99e90726716bc89bdd980a3db027f1c3a66f2fa)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 5c2539db33..9013e1e7b4 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -49,19 +49,19 @@ class ImageConfigurationPage (HobPage): | |||
49 | "Templates", | 49 | "Templates", |
50 | hic.ICON_TEMPLATES_DISPLAY_FILE, | 50 | hic.ICON_TEMPLATES_DISPLAY_FILE, |
51 | hic.ICON_TEMPLATES_HOVER_FILE, | 51 | hic.ICON_TEMPLATES_HOVER_FILE, |
52 | "Load a hob building template saved before", | 52 | "Load a previously saved template", |
53 | self.template_button_clicked_cb) | 53 | self.template_button_clicked_cb) |
54 | my_images_button = self.append_toolbar_button(self.toolbar, | 54 | my_images_button = self.append_toolbar_button(self.toolbar, |
55 | "My images", | 55 | "Images", |
56 | hic.ICON_IMAGES_DISPLAY_FILE, | 56 | hic.ICON_IMAGES_DISPLAY_FILE, |
57 | hic.ICON_IMAGES_HOVER_FILE, | 57 | hic.ICON_IMAGES_HOVER_FILE, |
58 | "Open images built out previously for running or deployment", | 58 | "Open previously built images", |
59 | self.my_images_button_clicked_cb) | 59 | self.my_images_button_clicked_cb) |
60 | settings_button = self.append_toolbar_button(self.toolbar, | 60 | settings_button = self.append_toolbar_button(self.toolbar, |
61 | "Settings", | 61 | "Settings", |
62 | hic.ICON_SETTINGS_DISPLAY_FILE, | 62 | hic.ICON_SETTINGS_DISPLAY_FILE, |
63 | hic.ICON_SETTINGS_HOVER_FILE, | 63 | hic.ICON_SETTINGS_HOVER_FILE, |
64 | "Other advanced settings for build", | 64 | "View additional build settings", |
65 | self.settings_button_clicked_cb) | 65 | self.settings_button_clicked_cb) |
66 | 66 | ||
67 | self.config_top_button = self.add_onto_top_bar(self.toolbar) | 67 | self.config_top_button = self.add_onto_top_bar(self.toolbar) |
@@ -138,7 +138,7 @@ class ImageConfigurationPage (HobPage): | |||
138 | 138 | ||
139 | self.machine_title_desc = gtk.Label() | 139 | self.machine_title_desc = gtk.Label() |
140 | self.machine_title_desc.set_alignment(0.0, 0.5) | 140 | self.machine_title_desc.set_alignment(0.0, 0.5) |
141 | mark = ("<span %s>This is the profile of the target machine for which you" | 141 | mark = ("<span %s>Your selection is the profile of the target machine for which you" |
142 | " are building the image.\n</span>") % (self.span_tag('medium')) | 142 | " are building the image.\n</span>") % (self.span_tag('medium')) |
143 | self.machine_title_desc.set_markup(mark) | 143 | self.machine_title_desc.set_markup(mark) |
144 | 144 | ||
@@ -155,8 +155,8 @@ class ImageConfigurationPage (HobPage): | |||
155 | markup = "Layers are a powerful mechanism to extend the Yocto Project " | 155 | markup = "Layers are a powerful mechanism to extend the Yocto Project " |
156 | markup += "with your own functionality.\n" | 156 | markup += "with your own functionality.\n" |
157 | markup += "For more on layers, check the <a href=\"" | 157 | markup += "For more on layers, check the <a href=\"" |
158 | markup += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" | 158 | markup += "http://www.yoctoproject.org/docs/current/dev-manual/" |
159 | markup += "poky-ref-manual.html#usingpoky-changes-layers\">reference manual</a>." | 159 | markup += "dev-manual.html#understanding-and-using-layers\">reference manual</a>." |
160 | self.layer_info_icon = HobInfoButton(markup, self.get_parent()) | 160 | self.layer_info_icon = HobInfoButton(markup, self.get_parent()) |
161 | 161 | ||
162 | self.progress_box = gtk.HBox(False, 6) | 162 | self.progress_box = gtk.HBox(False, 6) |
@@ -235,7 +235,7 @@ class ImageConfigurationPage (HobPage): | |||
235 | # create button "Build image" | 235 | # create button "Build image" |
236 | just_bake_button = HobButton("Build image") | 236 | just_bake_button = HobButton("Build image") |
237 | just_bake_button.set_size_request(205, 49) | 237 | just_bake_button.set_size_request(205, 49) |
238 | just_bake_button.set_tooltip_text("Build image to get your target image") | 238 | just_bake_button.set_tooltip_text("Build target image") |
239 | just_bake_button.connect("clicked", self.just_bake_button_clicked_cb) | 239 | just_bake_button.connect("clicked", self.just_bake_button_clicked_cb) |
240 | button_box.pack_end(just_bake_button, expand=False, fill=False) | 240 | button_box.pack_end(just_bake_button, expand=False, fill=False) |
241 | 241 | ||
@@ -245,6 +245,7 @@ class ImageConfigurationPage (HobPage): | |||
245 | # create button "Build Packages" | 245 | # create button "Build Packages" |
246 | build_packages_button = HobAltButton("Build packages") | 246 | build_packages_button = HobAltButton("Build packages") |
247 | build_packages_button.connect("clicked", self.build_packages_button_clicked_cb) | 247 | build_packages_button.connect("clicked", self.build_packages_button_clicked_cb) |
248 | build_packages_button.set_tooltip_text("Build recipes into packages") | ||
248 | button_box.pack_end(build_packages_button, expand=False, fill=False) | 249 | button_box.pack_end(build_packages_button, expand=False, fill=False) |
249 | 250 | ||
250 | return button_box | 251 | return button_box |