Patchwork [bitbake-devel,v2,4/4] hob: fix Gtk-WARNINGs due to invalid markup on Back button

login
register
mail settings
Submitter Paul Eggleton
Date Sept. 21, 2012, 2:47 p.m.
Message ID <9691daaed08d95177a2c8c7db1d53815faab4ecf.1348238757.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/37007/
State New
Headers show

Comments

Paul Eggleton - Sept. 21, 2012, 2:47 p.m.
You can't use markup characters (e.g '<' or '>') in the labels for many
widgets - you must use the appropriate entities instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 bitbake/lib/bb/ui/crumbs/builddetailspage.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 85f65b7..a927c21 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -165,7 +165,7 @@  class BuildDetailsPage (HobPage):
         self.builder.handler.build.model.connect_after("row-changed", self.scroll_to_present_row, self.scrolled_view_build.get_vadjustment(), self.build_tv)
 
         self.button_box = gtk.HBox(False, 6)
-        self.back_button = HobAltButton('<< Back')
+        self.back_button = HobAltButton('&lt;&lt; Back')
         self.back_button.connect("clicked", self.back_button_clicked_cb)
         self.button_box.pack_start(self.back_button, expand=False, fill=False)