[bitbake-devel] [PATCH 3/6] ui/crumbs/hobpage: no need to force a Toolbar button type
Xu, Dongxiao
dongxiao.xu at intel.com
Tue Mar 20 05:49:01 UTC 2012
On Mon, 2012-03-19 at 17:18 -0700, Joshua Lock wrote:
> This uses a more concise API that will be more flexible whent he Toolbar
> style is updated to match the visual design.
>
Acked-by: Dongxiao Xu <dongxiao.xu at intel.com>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
> lib/bb/ui/crumbs/hobpages.py | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/lib/bb/ui/crumbs/hobpages.py b/lib/bb/ui/crumbs/hobpages.py
> index 8137c0d..baf250b 100755
> --- a/lib/bb/ui/crumbs/hobpages.py
> +++ b/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
More information about the bitbake-devel
mailing list