[Gtk-sharp-list] Issues with Gnome.FileEntry

Callum J. Bell cjb at seirad.com
Thu Jan 26 19:35:32 EST 2006


I would like to use the Gnome.FileEntry widget in a Gtk application. I 
added gnome-sharp to the References in my Monodevelop project but
encounter some issues using it. First I omitted the args to constructor
by accident:

fe = new FileEntry();

and got errors:

[Task:File=/home/SEIRADINC/callum/playmono/scansgui/SeqInfoDialog.cs, 
Line=69, Column=12, Type=Error, 
Description=`Gnome.FileEntry.FileEntry(GLib.GType)' is inaccessible due 
to its protection level(CS0122)

[Task:File=/home/SEIRADINC/callum/playmono/scansgui/SeqInfoDialog.cs, 
Line=69, Column=12, Type=Error, Description=No overload for method 
`Gnome.FileEntry' takes `0' arguments(CS1501)

Then I added two string args to the constructor ( don't know what the 
first of these does):

fe = new FileEntry("abc","abc");

and it builds cleanly but when I click the button that should create
the fileentry widget I get these on the console:

(<unknown>:18196): Gnome-CRITICAL **: gnome_program_get_app_id: 
assertion `program != NULL' failed

(<unknown>:18196): Gnome-CRITICAL **: gnome_program_get_app_id: 
assertion `program != NULL' failed

(<unknown>:18196): GConf-CRITICAL **: gconf_escape_key: assertion 
`arbitrary_text != NULL' failed

(<unknown>:18196): Gnome-CRITICAL **: gnome_program_get_app_id: 
assertion `program != NULL' failed

(<unknown>:18196): Gnome-CRITICAL **: gnome_program_get_app_id: 
assertion `program != NULL' failed

(<unknown>:18196): GConf-CRITICAL **: gconf_escape_key: assertion 
`arbitrary_text != NULL' failed

(<unknown>:18196): GConf-CRITICAL **: gconf_client_add_dir: assertion 
`gconf_valid_key (dirname, NULL)' failed

(<unknown>:18196): GConf-CRITICAL **: gconf_client_add_dir: assertion 
`gconf_valid_key (dirname, NULL)' failed

(<unknown>:18196): GConf-CRITICAL **: ltable_insert: assertion 
`gconf_valid_key(where, NULL)' failed

(<unknown>:18196): Gnome-CRITICAL **: gnome_program_get_app_id: 
assertion `program != NULL' failed

Any advice on using this widget much appreciated, thanks,

Callum


More information about the Gtk-sharp-list mailing list