[Gtk-sharp-list] Glade - problem when menu entries specified

Viktor Stansvik vstansvik@home.se
Wed, 16 Jun 2004 16:12:00 +0200


Hi. I'm using Gtk# and Glade to build a TV-list application, and have
ran into a problem.
Everything works fine, unless I add entries to my MenuBar or my
OptionMenu with Glade. The app compiles but when I run it I get the
following error messages:

<<--------------------------------------------->>
(<unknown>:20314): Gnome-CRITICAL **: file gnome-program.c: line 739
(gnome_prog
ram_get_app_id): assertion `program != NULL' failed

(<unknown>:20314): GLib-CRITICAL **: file gstring.c: line 552
(g_string_prepend)
: assertion `val != NULL' failed

(<unknown>:20314): Gnome-CRITICAL **: file gnome-program.c: line 739
(gnome_prog
ram_get_app_id): assertion `program != NULL' failed

(<unknown>:20314): GConf-CRITICAL **: file gconf-client.c: line 547
(gconf_clien
t_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

Unhandled Exception: System.NullReferenceException: A null value was
found where
 an object instance was required.
in (unmanaged) (wrapper managed-to-native)
SignalConnector:glade_xml_signal_auto
connect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in <0x00004> (wrapper managed-to-native)
SignalConnector:glade_xml_signal_autoco
nnect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in <0x0006b> SignalConnector:Autoconnect ()
in <0x00050> Glade.XML:Autoconnect (object)
in [0x0001f] (at
/home/invitro/Desktop/Kod/MD-projekt/TV-Guide/Main.cs:51) TVGui
de:.ctor (string[])
in [0x00001] (at
/home/invitro/Desktop/Kod/MD-projekt/TV-Guide/Main.cs:42) TVGui
de:Main (string[])
<<--------------------------------------------->>

I'd be happy if someone could tell me what all this is about.

Thanks
Viktor