diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-09-14 12:58:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-20 10:29:33 +0100 |
commit | 8c82b12d1ccf7e7a79e5ee91dd362619694c4520 (patch) | |
tree | 281223f115b404c46cde693a8c9fa5bd65807358 /bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |
parent | 749f4f67444c7be7fe7aac0189776fd540975e09 (diff) | |
download | poky-8c82b12d1ccf7e7a79e5ee91dd362619694c4520.tar.gz |
bitbake: hob: rename 'View log' to 'Open log'
Rename all the 'View log' buttons to 'Open log' for
consistency.
[YOCTO #3045]
(Bitbake rev: 7bc9b0c1c2544b494959b13ac79ac3e52edb4fe3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/packageselectionpage.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index e3d35effe4..edbafbd3a5 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |||
@@ -165,7 +165,7 @@ class PackageSelectionPage (HobPage): | |||
165 | if binb: | 165 | if binb: |
166 | self.builder.show_binb_dialog(binb) | 166 | self.builder.show_binb_dialog(binb) |
167 | 167 | ||
168 | def view_log_clicked_cb(self, button, log_file): | 168 | def open_log_clicked_cb(self, button, log_file): |
169 | if log_file: | 169 | if log_file: |
170 | os.system("xdg-open /%s" % log_file) | 170 | os.system("xdg-open /%s" % log_file) |
171 | 171 | ||
@@ -173,13 +173,13 @@ class PackageSelectionPage (HobPage): | |||
173 | children = self.button_box.get_children() or [] | 173 | children = self.button_box.get_children() or [] |
174 | for child in children: | 174 | for child in children: |
175 | self.button_box.remove(child) | 175 | self.button_box.remove(child) |
176 | # re-packed the buttons as request, add the 'view log' button if build success | 176 | # re-packed the buttons as request, add the 'open log' button if build success |
177 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) | 177 | self.button_box.pack_end(self.build_image_button, expand=False, fill=False) |
178 | if log_file: | 178 | if log_file: |
179 | view_log_button = HobAltButton("View log") | 179 | open_log_button = HobAltButton("Open log") |
180 | view_log_button.connect("clicked", self.view_log_clicked_cb, log_file) | 180 | open_log_button.connect("clicked", self.open_log_clicked_cb, log_file) |
181 | view_log_button.set_tooltip_text("Open the building log files") | 181 | open_log_button.set_tooltip_text("Open the build's log file") |
182 | self.button_box.pack_end(view_log_button, expand=False, fill=False) | 182 | self.button_box.pack_end(open_log_button, expand=False, fill=False) |
183 | self.button_box.pack_end(self.back_button, expand=False, fill=False) | 183 | self.button_box.pack_end(self.back_button, expand=False, fill=False) |
184 | self.show_all() | 184 | self.show_all() |
185 | 185 | ||