[maemo-developers] radare 0.9.5 beta for maemo

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Thu May 1 21:20:22 EEST 2008
2008/4/27 pancake <pancake at youterm.com>:
> On Sun, 27 Apr 2008 15:09:32 +0300
>  "Kalle Vahlman" <kalle.vahlman at gmail.com> wrote:
>
>  > 2008/4/23 pancake <pancake at youterm.com>:
>  > >  but... i'm unable to find why the menu of gradare isn't shown :/
>  > >
>  > >  can anybody point me about the problem?
>  >
>  > You are giving the set_menu() a menubar while it expects a (popup) menu.
>  >
>
>  Ok. i'll try it :) Thanks
>
>  But...I cannot understand why a popup menu is different from a menubar.
>  Those primitives have the same functionality and gtk should try to be
>  more ortogonal (IMHO).

Not really the same functionality since menubar is not a toplevel
widget, while a popup menu is. We solved this for kilikali so that we
had two definitions for the menu structure in the xml, one for menubar
and one for popup menu (the menu layout wasn't really sensible to copy
as-is between a menubar and a popup menu...). Not the cleanest
solution, but allowed us to just ifdef the "get menu widget and stuff
it where it belongs" code for "desktop" and maemo versions and the
rest works identically.

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

More information about the maemo-developers mailing list