summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-03-13 13:11:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-20 15:21:36 +0000
commit854f3a521a7d84dd59e5e3d9e28b00b67da8a80f (patch)
treebad9cb953249e5f58046150c8740776919652551 /bitbake/lib
parent740bd44c5a49b2f9431b1ba4d88238e999d4cb4e (diff)
downloadpoky-854f3a521a7d84dd59e5e3d9e28b00b67da8a80f.tar.gz
ui/crumbs/hobpage: no need to force a Toolbar button type
This uses a more concise API that will be more flexible whent he Toolbar style is updated to match the visual design. (Bitbake rev: 6491b5fd877d6006ebc91e0c73d443a6e7626f3f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/hobpages.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobpages.py b/bitbake/lib/bb/ui/crumbs/hobpages.py
index 81edaca682..8ea39e70d0 100755
--- a/bitbake/lib/bb/ui/crumbs/hobpages.py
+++ b/bitbake/lib/bb/ui/crumbs/hobpages.py
@@ -81,7 +81,5 @@ class HobPage (gtk.VBox):
81 pix_buffer = gtk.gdk.pixbuf_new_from_file(icon_display) 81 pix_buffer = gtk.gdk.pixbuf_new_from_file(icon_display)
82 icon.set_from_pixbuf(pix_buffer) 82 icon.set_from_pixbuf(pix_buffer)
83 tip_text = tip 83 tip_text = tip
84 button = toolbar.append_element(gtk.TOOLBAR_CHILD_RADIOBUTTON, None, 84 button = toolbar.append_item(buttonname, tip, None, icon, cb)
85 buttonname, tip_text, "Private text", icon,
86 cb, None)
87 return button 85 return button