diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-03-05 17:36:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-19 13:51:24 +0000 |
commit | 5b4b8177b532ff58c93de5ec8bda4ac2f0e9d56f (patch) | |
tree | 2b767f78c2430beed6ba99d458660da5c3a370ff /bitbake/lib | |
parent | f4bc22c856ca283a4cf2b97921b1af1ff3c0dcd9 (diff) | |
download | poky-5b4b8177b532ff58c93de5ec8bda4ac2f0e9d56f.tar.gz |
bitbake: hig/advancedsettingsdialog: Added information for the information dialogs
added information so that it would display
correctly in the information dialogs.
(Bitbake rev: 7580716b905366aea70c9eed38dc703cecf24219)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py index f5397c3ac0..2911906220 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | |||
@@ -208,7 +208,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
208 | self.all_distros[ i ] = "Default" | 208 | self.all_distros[ i ] = "Default" |
209 | if self.configuration.curr_distro == "defaultsetup": | 209 | if self.configuration.curr_distro == "defaultsetup": |
210 | self.configuration.curr_distro = "Default" | 210 | self.configuration.curr_distro = "Default" |
211 | distro_widget, self.distro_combo = self.gen_combo_widget(self.configuration.curr_distro, self.all_distros, tooltip) | 211 | distro_widget, self.distro_combo = self.gen_combo_widget(self.configuration.curr_distro, self.all_distros,"<b>Distro</b>" + "*" + tooltip) |
212 | distro_vbox.pack_start(label, expand=False, fill=False) | 212 | distro_vbox.pack_start(label, expand=False, fill=False) |
213 | distro_vbox.pack_start(distro_widget, expand=False, fill=False) | 213 | distro_vbox.pack_start(distro_widget, expand=False, fill=False) |
214 | main_vbox.pack_start(distro_vbox, expand=False, fill=False) | 214 | main_vbox.pack_start(distro_vbox, expand=False, fill=False) |
@@ -219,7 +219,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
219 | advanced_vbox.pack_start(table, expand=False, fill=False) | 219 | advanced_vbox.pack_start(table, expand=False, fill=False) |
220 | 220 | ||
221 | tooltip = "Image file system types you want." | 221 | tooltip = "Image file system types you want." |
222 | info = HobInfoButton(tooltip, self) | 222 | info = HobInfoButton("<b>Image types</b>" + "*" + tooltip, self) |
223 | label = self.gen_label_widget("Image types:") | 223 | label = self.gen_label_widget("Image types:") |
224 | align = gtk.Alignment(0, 0.5, 0, 0) | 224 | align = gtk.Alignment(0, 0.5, 0, 0) |
225 | table.attach(align, 0, 4, 0, 1) | 225 | table.attach(align, 0, 4, 0, 1) |
@@ -257,7 +257,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
257 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | 257 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) |
258 | tooltip_combo = "Selects the package format used to generate rootfs." | 258 | tooltip_combo = "Selects the package format used to generate rootfs." |
259 | tooltip_extra = "Selects extra package formats to build" | 259 | tooltip_extra = "Selects extra package formats to build" |
260 | pkgfmt_widget, self.rootfs_combo, self.check_hbox = self.gen_pkgfmt_widget(self.configuration.curr_package_format, self.all_package_formats, tooltip_combo, tooltip_extra) | 260 | pkgfmt_widget, self.rootfs_combo, self.check_hbox = self.gen_pkgfmt_widget(self.configuration.curr_package_format, self.all_package_formats,"<b>Root file system package format</b>" + "*" + tooltip_combo,"<b>Additional package formats</b>" + "*" + tooltip_extra) |
261 | sub_vbox.pack_start(pkgfmt_widget, expand=False, fill=False) | 261 | sub_vbox.pack_start(pkgfmt_widget, expand=False, fill=False) |
262 | 262 | ||
263 | advanced_vbox.pack_start(self.gen_label_widget('<span weight="bold">Image size</span>'), expand=False, fill=False) | 263 | advanced_vbox.pack_start(self.gen_label_widget('<span weight="bold">Image size</span>'), expand=False, fill=False) |
@@ -265,7 +265,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
265 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | 265 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) |
266 | label = self.gen_label_widget("Image basic size (in MB)") | 266 | label = self.gen_label_widget("Image basic size (in MB)") |
267 | tooltip = "Sets the basic size of your target image.\nThis is the basic size of your target image unless your selected package size exceeds this value or you select \'Image Extra Size\'." | 267 | tooltip = "Sets the basic size of your target image.\nThis is the basic size of your target image unless your selected package size exceeds this value or you select \'Image Extra Size\'." |
268 | rootfs_size_widget, self.rootfs_size_spinner = self.gen_spinner_widget(int(self.configuration.image_rootfs_size*1.0/1024), 0, 65536, tooltip) | 268 | rootfs_size_widget, self.rootfs_size_spinner = self.gen_spinner_widget(int(self.configuration.image_rootfs_size*1.0/1024), 0, 65536,"<b>Image basic size</b>" + "*" + tooltip) |
269 | sub_vbox.pack_start(label, expand=False, fill=False) | 269 | sub_vbox.pack_start(label, expand=False, fill=False) |
270 | sub_vbox.pack_start(rootfs_size_widget, expand=False, fill=False) | 270 | sub_vbox.pack_start(rootfs_size_widget, expand=False, fill=False) |
271 | 271 | ||
@@ -273,7 +273,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
273 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | 273 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) |
274 | label = self.gen_label_widget("Additional free space (in MB)") | 274 | label = self.gen_label_widget("Additional free space (in MB)") |
275 | tooltip = "Sets the extra free space of your target image.\nBy default, the system reserves 30% of your image size as free space. If your image contains zypper, it brings in 50MB more space. The maximum free space is 64GB." | 275 | tooltip = "Sets the extra free space of your target image.\nBy default, the system reserves 30% of your image size as free space. If your image contains zypper, it brings in 50MB more space. The maximum free space is 64GB." |
276 | extra_size_widget, self.extra_size_spinner = self.gen_spinner_widget(int(self.configuration.image_extra_size*1.0/1024), 0, 65536, tooltip) | 276 | extra_size_widget, self.extra_size_spinner = self.gen_spinner_widget(int(self.configuration.image_extra_size*1.0/1024), 0, 65536,"<b>Additional free space</b>" + "*" + tooltip) |
277 | sub_vbox.pack_start(label, expand=False, fill=False) | 277 | sub_vbox.pack_start(label, expand=False, fill=False) |
278 | sub_vbox.pack_start(extra_size_widget, expand=False, fill=False) | 278 | sub_vbox.pack_start(extra_size_widget, expand=False, fill=False) |
279 | 279 | ||
@@ -295,7 +295,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
295 | sub_hbox.pack_start(self.toolchain_checkbox, expand=False, fill=False) | 295 | sub_hbox.pack_start(self.toolchain_checkbox, expand=False, fill=False) |
296 | 296 | ||
297 | tooltip = "Selects the host platform for which you want to run the toolchain" | 297 | tooltip = "Selects the host platform for which you want to run the toolchain" |
298 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines, tooltip) | 298 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines,"<b>Build toolchain</b>" + "*" + tooltip) |
299 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) | 299 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) |
300 | 300 | ||
301 | return advanced_vbox | 301 | return advanced_vbox |