2008/4/27 pancake <[EMAIL PROTECTED]>: > On Sun, 27 Apr 2008 15:09:32 +0300 > "Kalle Vahlman" <[EMAIL PROTECTED]> wrote: > > > 2008/4/23 pancake <[EMAIL PROTECTED]>: > > > 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, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
