gnomeUI-warnings at startup with menu item insertion

Christian Stimming stimming@tuhh.de
Tue, 17 Sep 2002 20:40:11 +0200


-----BEGIN PGP SIGNED MESSAGE-----

(btw, the new startup window really *rocks*)

 On Dienstag, 17. September 2002 00:06, David Hampton wrote:
> On Mon, 2002-09-16 at 14:46, Christian Stimming wrote:
> > I'm now trying to work with hampton's new menu item insertion code. It
> > seems to work quite nice so far, but I run into the following warnings at
> > startup:
>
> Its possible that your code is being called before whatever creates the
> "Tools" menuitem, so that when gnucash goes to add things to the menu
> the "Tools" menuitem doesn't exist yet.  Try changing "Tools" to
> "Reports" and see if that helps.

I tried this, but it didn't change. Maybe there's a problem with the addition 
of menus as opposed to menu items? I still get

GnomeUI-WARNING **: gnome_app_insert_menus_custom: couldn't find insertion 
point for menus!
GnomeUI-CRITICAL **: file gnome-app-helper.c: line 640 
(install_menuitem_hint_to_appbar): assertion `uiinfo->widget != NULL' failed.

The code leading to this was 

  (gnc:add-extension 
   (gnc:make-menu "HBCI" (list gnc:window-name-main "Reports" "")))


Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBPYd3C2XAi+BfhivFAQFgmAQAgPu+ERSj5xmeU2EQlGnIDyNz4F7/ZvGV
OLs7zHG5LiD5ph+UJiThJyQlTLtfYyv+prtqqt1cg2yNKjsyxIvli2/XDYUoEw73
2jrQLbrGKxsVGg83H84ruLyAiTnMc1DUcH5PvXvh6bz7hb6fSPlDLDvJIl3/TsCN
0tmZ8YAox+I=
=BsBa
-----END PGP SIGNATURE-----