diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index df85326652..870831a3b2 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -21,6 +21,7 @@ | |||
21 | # with this program; if not, write to the Free Software Foundation, Inc., | 21 | # with this program; if not, write to the Free Software Foundation, Inc., |
22 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 22 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
23 | 23 | ||
24 | import glib | ||
24 | import gtk | 25 | import gtk |
25 | import copy | 26 | import copy |
26 | import os | 27 | import os |
@@ -644,7 +645,7 @@ class Builder(gtk.Window): | |||
644 | 645 | ||
645 | def show_error_dialog(self, msg): | 646 | def show_error_dialog(self, msg): |
646 | lbl = "<b>Error</b>\n" | 647 | lbl = "<b>Error</b>\n" |
647 | lbl = lbl + "%s\n\n" % msg | 648 | lbl = lbl + "%s\n\n" % glib.markup_escape_text(msg) |
648 | dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_ERROR) | 649 | dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_ERROR) |
649 | button = dialog.add_button("Close", gtk.RESPONSE_OK) | 650 | button = dialog.add_button("Close", gtk.RESPONSE_OK) |
650 | HobButton.style_button(button) | 651 | HobButton.style_button(button) |
@@ -816,7 +817,7 @@ class Builder(gtk.Window): | |||
816 | self.build_failed() | 817 | self.build_failed() |
817 | 818 | ||
818 | def handler_no_provider_cb(self, running_build, msg): | 819 | def handler_no_provider_cb(self, running_build, msg): |
819 | dialog = CrumbsMessageDialog(self, msg, gtk.STOCK_DIALOG_INFO) | 820 | dialog = CrumbsMessageDialog(self, glib.markup_escape_text(msg), gtk.STOCK_DIALOG_INFO) |
820 | button = dialog.add_button("Close", gtk.RESPONSE_OK) | 821 | button = dialog.add_button("Close", gtk.RESPONSE_OK) |
821 | HobButton.style_button(button) | 822 | HobButton.style_button(button) |
822 | dialog.run() | 823 | dialog.run() |