From: Bogdan Marinescu Date: Thu, 20 Sep 2012 10:27:56 +0000 (+0300) Subject: hob/settings: Remove stray "distro" combobox from simple settings X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d56bec4464da14d7fde0e60946be43293ad6e52;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Bogdan Marinescu Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/hig.py b/lib/bb/ui/crumbs/hig.py index e043f932523..f304a686e1d 100644 --- a/lib/bb/ui/crumbs/hig.py +++ b/lib/bb/ui/crumbs/hig.py @@ -195,7 +195,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): self.max_threads = max_threads # class members for internal use - self.distro_combo = None self.dldir_text = None self.sstatedir_text = None self.sstatemirror_text = None @@ -330,7 +329,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): self.refresh_proxy_components() def response_cb(self, dialog, response_id): - #self.configuration.curr_distro = self.distro_combo.get_active_text() self.configuration.dldir = self.dldir_text.get_text() self.configuration.sstatedir = self.sstatedir_text.get_text() self.configuration.sstatemirror = self.sstatemirror_text.get_text() @@ -356,14 +354,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): advanced_vbox = gtk.VBox(False, 6) advanced_vbox.set_border_width(6) - sub_vbox = gtk.VBox(False, 6) - advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) - label = self.gen_label_widget("Select distro:") - tooltip = "Selects the Yocto Project distribution you want" - distro_widget, self.distro_combo = self.gen_combo_widget(self.configuration.curr_distro, self.all_distros, tooltip) - sub_vbox.pack_start(label, expand=False, fill=False) - sub_vbox.pack_start(distro_widget, expand=False, fill=False) - sub_vbox = gtk.VBox(False, 6) advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) label = self.gen_label_widget("BB number threads:")