[Gtk-sharp-list] problem with Gnome.About

Joseph Monti joe@tgpr.org
06 May 2003 18:34:55 -0400


Thanks!

That did it. The only problem is now when I click "Credits" it closes
the dialog (showing now credits) :( I also get several GTK warnings, but
there is no problem closing/opening repeatedly.

Anyone else have a problem with opening Credits?

- Joe

On Tue, 2003-05-06 at 19:59, Arturo González wrote:
> I was having the same problem two days ago, and the only solution i
> found was not to put "null" at the icon parameter. It was necessary to
> do:
> 
> Gdk.Pixbuf Icon = new Gdk.Pixbuf ("pixmaps/k48.png");
> 
> and put Icon as last parameter of Gnome.About.
> 
> I doesn't know if this is a bug to repare or only it is following some
> gnome developper rules.
> 
> good luck!
> 
> 
> El mar, 06 de 05 de 2003 a las 21:10, Joseph Monti escribió:
> > Hi,
> > 
> > I'm new to C#/GTK# and ran into a problem with creating a new
> > Gnome.About
> > 
> > Here is how I create it:
> > 
> > Gnome.About myAbout = new Gnome.About(
> > 		"Code Connector", "0.1", 
> > 		"(C) 2003 Joseph Monti, GNU General Public License", 
> > 		"A Description", 
> > 		new string [] {"Me"},
> > 		new string[] {}, "", null);
> > 
> > This is created in a callback.
> > 
> > Here is what happens at a console:
> > 
> > (<unknown>:2986): GLib-GObject-WARNING **: instance of invalid
> > non-instantiatable type `<invalid>'
> >  
> > (<unknown>:2986): GLib-GObject-CRITICAL **: file gsignal.c: line 2056
> > (g_signal_handlers_destroy): assertion `G_TYPE_CHECK_INSTANCE
> > (instance)' failed
> > 
> > The application does not crash, it just doesnt open that about dialog.
> > 
> > I am running the CVS version of mono/mcs/gtk-sharp. and gnome-2.2.1 on a
> > Gentoo system.
> > 
> > Any ideas?
> > 
> > Thanks!
> > - Joe
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[ Joseph Monti ][ joe@tgpr.org ][ http://joe.tgpr.org/ ]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-