From 0e175284fec0d394ef4b4d478e6235891662fc9d Mon Sep 17 00:00:00 2001 From: Andrei Dinu Date: Tue, 5 Mar 2013 17:36:26 +0200 Subject: bitbake: hig/simplesettingsdialog: added entries for information dialogs added information so that it would display correctly in the information dialogs. (Bitbake rev: bf86cc183c250acd0e52755ae6050a2f8d85ccf5) Signed-off-by: Andrei Dinu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py index 5f316ae336..e0fbdca8f1 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py @@ -260,7 +260,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): tooltip = "Sets the number of threads that BitBake tasks can simultaneously run. See the Poky reference manual for information" - bbthread_widget, self.bb_spinner = self.gen_spinner_widget(self.configuration.bbthread, 1, self.max_threads, tooltip) + bbthread_widget, self.bb_spinner = self.gen_spinner_widget(self.configuration.bbthread, 1, self.max_threads,"BitBake prallalel threads" + "*" + tooltip) sub_vbox.pack_start(label, expand=False, fill=False) sub_vbox.pack_start(bbthread_widget, expand=False, fill=False) @@ -270,7 +270,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): tooltip = "Sets the maximum number of threads the host can use during the build. See the Poky reference manual for information" - pmake_widget, self.pmake_spinner = self.gen_spinner_widget(self.configuration.pmake, 1, self.max_threads, tooltip) + pmake_widget, self.pmake_spinner = self.gen_spinner_widget(self.configuration.pmake, 1, self.max_threads,"Make parallel threads" + "*" + tooltip) sub_vbox.pack_start(label, expand=False, fill=False) sub_vbox.pack_start(pmake_widget, expand=False, fill=False) @@ -279,7 +279,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) label = self.gen_label_widget("Downloads directory") tooltip = "Select a folder that caches the upstream project source code" - dldir_widget, self.dldir_text = self.gen_entry_widget(self.configuration.dldir, self, tooltip) + dldir_widget, self.dldir_text = self.gen_entry_widget(self.configuration.dldir, self,"Downloaded source code" + "*" + tooltip) sub_vbox.pack_start(label, expand=False, fill=False) sub_vbox.pack_start(dldir_widget, expand=False, fill=False) @@ -293,7 +293,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): advanced_vbox.pack_start(sub_vbox, expand=False, fill=False, padding=24) content = "Shared state directory" tooltip = "Select a folder that caches your prebuilt results" - label = self.gen_label_info_widget(content, tooltip) + label = self.gen_label_info_widget(content,"Shared state directory" + "*" + tooltip) sstatedir_widget, self.sstatedir_text = self.gen_entry_widget(self.configuration.sstatedir, self) sub_vbox.pack_start(label, expand=False, fill=False) sub_vbox.pack_start(sstatedir_widget, expand=False, fill=False, padding=6) @@ -305,7 +305,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): tooltip += "For more information on shared state mirrors, check the Yocto Project Reference Manual." - table = self.gen_label_info_widget(content, tooltip) + table = self.gen_label_info_widget(content,"Shared state mirrors" + "*" + tooltip) advanced_vbox.pack_start(table, expand=False, fill=False, padding=6) sub_vbox = gtk.VBox(False) @@ -627,7 +627,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) label = self.gen_label_widget("Set the proxies used when fetching source code") tooltip = "Set the proxies used when fetching source code. A blank field uses a direct internet connection." - info = HobInfoButton(tooltip, self) + info = HobInfoButton("Set the proxies used when fetching source code" + "*" + tooltip, self) hbox = gtk.HBox(False, 12) hbox.pack_start(label, expand=True, fill=True) hbox.pack_start(info, expand=False, fill=False) @@ -875,7 +875,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): advanced_vbox.pack_start(sub_vbox, expand=True, fill=True) label = self.gen_label_widget("Add your own variables:") tooltip = "These are key/value pairs for your extra settings. Click \'Add\' and then directly edit the key and the value" - setting_widget, self.setting_store = self.gen_editable_settings(self.configuration.extra_setting, tooltip) + setting_widget, self.setting_store = self.gen_editable_settings(self.configuration.extra_setting,"Add your own variables" + "*" + tooltip) sub_vbox.pack_start(label, expand=False, fill=False) sub_vbox.pack_start(setting_widget, expand=True, fill=True) -- cgit v1.2.3-54-g00ecf