Re: [glade--] Re: FileChooser bug?

Christof Petig <[email protected]> Sun, 12 Dec 2004 00:42:38 +0100
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Konstantin L Kouptsov schrieb:
>> GtkFileChooserDialog is unknown to glademm. If you take fileselection 
>> as a template to implement it all would work well. [I would commit the 
>> patch of course ;-) ]
> 
> 
> In glade 2.6.7 there is "file chooser" in GTK+Additional palette. When 
> it is added to a window, the generated underlying code shows it is 
> derived from Gtk::Label, which is wrong. Every time I regenerate the 
> code, I have to manualy change Gtk::Label to Gtk::FileSelection in 
> *_glade.cc and *_glade.hh, after which everything compiles fine. Did not 
> try FileChooserDialog, which is absent in this version of glade.

Repeat after me: Glade-2 and Glademm are two fully separate programs 
written in two different programming languages.

I said that glademm does not know about the widget you use, how ever 
glade-2 calls it. And that glademm has a bug which causes unknown 
toplevel widgets to render the source uncompileable. Glademm generates 
the source, glade-2 lets you edit the .glade file. The problem is within 
glademm (and fixable there).

If you are lazy send a sample .glade file to me, I'll implement the code 
generation.

    Christof

_______________________________________________
glademm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/glademm-list
signature.asc (application/pgp-signature, 251 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBu4X2ng+R+0ucfO0RAsXAAKC5+GWBXB6yvLobZLLHm0MvpN3SrQCffuwp
Y1crWQpTQwB2wWL0DHnIzrw=
=BBAt
-----END PGP SIGNATURE-----