[Gtk-sharp-list] Problems with the Gnome.About widget

Viktor Stansvik vstansvik@home.se
Mon, 13 Sep 2004 16:19:02 +0200


Hi,
I've created an application that uses the Gnome.About widget in the
following way:

The "activated" signal of a menu item is connected to this function:

<snip>
public void onMenuAbout(System.Object o, EventArgs args)
{
	About aboutBox = new About("TV Guide",
				   "0.1-beta",
				   "Viktor Stansvik 2004",
				   "A GNOME TV guide application",
				   authors,
				   null,
				   null,
				   new Gdk.Pixbuf(null, "logo.png"));
	aboutBox.Run();
}
</snip>

The program compiles, I can run it and open the about box but when I
click "Credits" the Credits-window comes up but the controls in it is
frozen (I can't click any button etc). Instead the control of the
program has jumped back to the main window.

If I don't click "Credits" in the about box I can click close and it
closes properly, but I get these warning messages in the console:

(MyProgram:23716): GLib-GObject-WARNING **: gsignal.c:1738: instance
`0x847f0b8' has no handler with id `181'

(MyProgram:23716): GLib-GObject-WARNING **: gsignal.c:1738: instance
`0x847f0b8' has no handler with id `182'

(MyProgram:23716): GLib-GObject-WARNING **: gsignal.c:1738: instance
`0x847f0b8' has no handler with id `183'

(MyProgram:23716): GLib-GObject-WARNING **: gsignal.c:1738: instance
`0x847f0b8' has no handler with id `184'


I'm probably not using this widget in the right way, but I can't seem to
figure out how to do so.

Thanks,
Viktor