Hi Georg,

I thought we had fixed this long ago ... looks like these bugs are
resurrecting again and again.  Argh.

> Hi,
> 
> here is a patch to fix a problem with PopUpMenus loaded from a gmodel file.
> The PopUpMenus were always disabled and their action always set to "submenuAction:".
> The patch simply sets the action after setSubmenu.
> Menus and Submenus are still working with the patch.
> 
> Alternatively, a check for submenu before setting the submenu would work too.

Yes - I like this second approach because hopefully it is less depended on
how gnustep-gui actually does submenus - so I hope it's more difficult to
break it again if management of submenus change :-)

I tried implementing this second approach on CVS - as usual I can't really
test gmodels, so please let me know if I did anything wrong :-)

Thanks a lot.


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to