summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2012-09-20 13:27:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-20 11:48:38 +0100
commit8d46be8a0d4e11750ba2471a5a9ecc363c325a62 (patch)
treecf632f217b78cd1447ffeb5ab3d36d80f78110fd
parentd485d0b0e875c9f5161645647472ce72af8d322e (diff)
downloadpoky-8d46be8a0d4e11750ba2471a5a9ecc363c325a62.tar.gz
bitbake: hob/settings: Remove stray "distro" combobox from simple settings
The "distro" combobox was moved to advanced settings, but it was also present in simple settings. This patch removed it from simple settings. (Bitbake rev: 6d56bec4464da14d7fde0e60946be43293ad6e52) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py
index e043f93252..f304a686e1 100644
--- a/bitbake/lib/bb/ui/crumbs/hig.py
+++ b/bitbake/lib/bb/ui/crumbs/hig.py
@@ -195,7 +195,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
195 self.max_threads = max_threads 195 self.max_threads = max_threads
196 196
197 # class members for internal use 197 # class members for internal use
198 self.distro_combo = None
199 self.dldir_text = None 198 self.dldir_text = None
200 self.sstatedir_text = None 199 self.sstatedir_text = None
201 self.sstatemirror_text = None 200 self.sstatemirror_text = None
@@ -330,7 +329,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
330 self.refresh_proxy_components() 329 self.refresh_proxy_components()
331 330
332 def response_cb(self, dialog, response_id): 331 def response_cb(self, dialog, response_id):
333 #self.configuration.curr_distro = self.distro_combo.get_active_text()
334 self.configuration.dldir = self.dldir_text.get_text() 332 self.configuration.dldir = self.dldir_text.get_text()
335 self.configuration.sstatedir = self.sstatedir_text.get_text() 333 self.configuration.sstatedir = self.sstatedir_text.get_text()
336 self.configuration.sstatemirror = self.sstatemirror_text.get_text() 334 self.configuration.sstatemirror = self.sstatemirror_text.get_text()
@@ -358,14 +356,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
358 356
359 sub_vbox = gtk.VBox(False, 6) 357 sub_vbox = gtk.VBox(False, 6)
360 advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) 358 advanced_vbox.pack_start(sub_vbox, expand=False, fill=False)
361 label = self.gen_label_widget("<span weight=\"bold\">Select distro:</span>")
362 tooltip = "Selects the Yocto Project distribution you want"
363 distro_widget, self.distro_combo = self.gen_combo_widget(self.configuration.curr_distro, self.all_distros, tooltip)
364 sub_vbox.pack_start(label, expand=False, fill=False)
365 sub_vbox.pack_start(distro_widget, expand=False, fill=False)
366
367 sub_vbox = gtk.VBox(False, 6)
368 advanced_vbox.pack_start(sub_vbox, expand=False, fill=False)
369 label = self.gen_label_widget("<span weight=\"bold\">BB number threads:</span>") 359 label = self.gen_label_widget("<span weight=\"bold\">BB number threads:</span>")
370 tooltip = "Sets the number of threads that BitBake tasks can simultaneously run. See the <a href=\"" 360 tooltip = "Sets the number of threads that BitBake tasks can simultaneously run. See the <a href=\""
371 tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" 361 tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/"