diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/parsingwarningsdialog.py | 6 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/parsingwarningsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/parsingwarningsdialog.py index 5cddd65e6b..33bac39db8 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/parsingwarningsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/parsingwarningsdialog.py | |||
@@ -105,8 +105,10 @@ class ParsingWarningsDialog (CrumbsDialog): | |||
105 | def create_visual_elements(self): | 105 | def create_visual_elements(self): |
106 | self.set_size_request(350, 350) | 106 | self.set_size_request(350, 350) |
107 | self.heading_label = gtk.Label() | 107 | self.heading_label = gtk.Label() |
108 | self.heading_label.set_alignment(0.1, 0) | 108 | self.heading_label.set_alignment(0, 0) |
109 | self.warning_label = gtk.Label() | 109 | self.warning_label = gtk.Label() |
110 | self.warning_label.set_selectable(True) | ||
111 | self.warning_label.set_alignment(0, 0) | ||
110 | self.textWindow = gtk.ScrolledWindow() | 112 | self.textWindow = gtk.ScrolledWindow() |
111 | 113 | ||
112 | table = gtk.Table(1, 10, False) | 114 | table = gtk.Table(1, 10, False) |
@@ -155,7 +157,7 @@ class ParsingWarningsDialog (CrumbsDialog): | |||
155 | self.vbox.pack_start(self.heading_label, expand=False, fill=False) | 157 | self.vbox.pack_start(self.heading_label, expand=False, fill=False) |
156 | self.vbox.pack_start(self.warning_label, expand=False, fill=False) | 158 | self.vbox.pack_start(self.warning_label, expand=False, fill=False) |
157 | self.vbox.pack_start(self.textWindow, expand=False, fill=False) | 159 | self.vbox.pack_start(self.textWindow, expand=False, fill=False) |
158 | cancel_button = self.add_button("Cancel", gtk.RESPONSE_CANCEL) | 160 | cancel_button = self.add_button("Close", gtk.RESPONSE_CANCEL) |
159 | HobAltButton.style_button(cancel_button) | 161 | HobAltButton.style_button(cancel_button) |
160 | 162 | ||
161 | self.refresh_components() | 163 | self.refresh_components() |
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index a0cbe85b0b..df7a017049 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -298,6 +298,7 @@ class ImageConfigurationPage (HobPage): | |||
298 | 298 | ||
299 | def machine_combo_changed_cb(self, machine_combo): | 299 | def machine_combo_changed_cb(self, machine_combo): |
300 | self.stopping = False | 300 | self.stopping = False |
301 | self.builder.parsing_warnings = [] | ||
301 | combo_item = machine_combo.get_active_text() | 302 | combo_item = machine_combo.get_active_text() |
302 | if not combo_item or combo_item == self.__dummy_machine__: | 303 | if not combo_item or combo_item == self.__dummy_machine__: |
303 | return | 304 | return |