diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/packageselectionpage.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index f2983b2bdd..9eec0e0043 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |||
@@ -162,9 +162,9 @@ class PackageSelectionPage (HobPage): | |||
162 | self.build_image_button.connect("clicked", self.build_image_clicked_cb) | 162 | self.build_image_button.connect("clicked", self.build_image_clicked_cb) |
163 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) | 163 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) |
164 | 164 | ||
165 | self.back_button = HobAltButton('<< Back') | 165 | self.back_button = HobAltButton('Cancel') |
166 | self.back_button.connect("clicked", self.back_button_clicked_cb) | 166 | self.back_button.connect("clicked", self.back_button_clicked_cb) |
167 | self.button_box.pack_start(self.back_button, expand=False, fill=False) | 167 | self.button_box.pack_end(self.back_button, expand=False, fill=False) |
168 | 168 | ||
169 | def button_click_cb(self, widget, event): | 169 | def button_click_cb(self, widget, event): |
170 | path, col = widget.table_tree.get_cursor() | 170 | path, col = widget.table_tree.get_cursor() |
@@ -183,14 +183,13 @@ class PackageSelectionPage (HobPage): | |||
183 | for child in children: | 183 | for child in children: |
184 | self.button_box.remove(child) | 184 | self.button_box.remove(child) |
185 | # re-packed the buttons as request, add the 'view log' button if build success | 185 | # re-packed the buttons as request, add the 'view log' button if build success |
186 | self.button_box.pack_start(self.back_button, expand=False, fill=False) | ||
187 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) | 186 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) |
188 | if log_file: | 187 | if log_file: |
189 | view_log_button = HobAltButton("View log") | 188 | view_log_button = HobAltButton("View log") |
190 | view_log_button.connect("clicked", self.view_log_clicked_cb, log_file) | 189 | view_log_button.connect("clicked", self.view_log_clicked_cb, log_file) |
191 | view_log_button.set_tooltip_text("Open the building log files") | 190 | view_log_button.set_tooltip_text("Open the building log files") |
192 | self.button_box.pack_end(view_log_button, expand=False, fill=False) | 191 | self.button_box.pack_end(view_log_button, expand=False, fill=False) |
193 | 192 | self.button_box.pack_end(self.back_button, expand=False, fill=False) | |
194 | self.show_all() | 193 | self.show_all() |
195 | 194 | ||
196 | def build_image_clicked_cb(self, button): | 195 | def build_image_clicked_cb(self, button): |