From 854f3a521a7d84dd59e5e3d9e28b00b67da8a80f Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 13 Mar 2012 13:11:16 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobpages.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bitbake/lib') 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): pix_buffer = gtk.gdk.pixbuf_new_from_file(icon_display) icon.set_from_pixbuf(pix_buffer) tip_text = tip - button = toolbar.append_element(gtk.TOOLBAR_CHILD_RADIOBUTTON, None, - buttonname, tip_text, "Private text", icon, - cb, None) + button = toolbar.append_item(buttonname, tip, None, icon, cb) return button -- cgit v1.2.3-54-g00ecf