mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
740bd44c5a
commit
854f3a521a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user