GNOME Bugzilla – Bug 133885
Add support for "use_filechooser" in GnomeFileEntry
Last modified: 2005-07-24 17:59:34 UTC
After the solution of bug #132043, glade should add the property "use_filechooser" to GnomeFileEntry in order to allow apps to use new GtkFileChooser. Attaching the patch.
Created attachment 24228 [details] [review] Patch adding this prop to glade
Why have you got this function in glade-gnome.c in libgnomeui: static void file_entry_set_use_filechooser (GladeXML *xml, GtkWidget *w, const char *name, const char *value) { g_object_set (G_OBJECT (w), "use_filechooser", BOOL (value), NULL); } That isn't necessary, is it? If the widget has a working property you don't need to register a custom property in libglade. I suppose we should also add the property to GnomePixmapEntry in Glade.
I've committed the patch, and also added support for generating code, and for GnomePixmapEntry. Though I haven't tested it yet, so I'll leave this bug open until then.
Glade now works. Moving to libgnomeui because of the unnecessary code mentioned above.
Humm, all the props in libgnomeui have this kind of code on gnome-glade.c because of that I added it.