Gustavo,
Thanks for the information. Any recommendations on what to do about GtkUIManager?
Don
Gustavo J. A. M. Carneiro wrote:
Qua, 2004-11-17 ās 09:33 -0700, Don Allingham escreveu:
Due to the demands of working for a startup company, I've been away from this list for quite a while. I've been trying to get caught up on the work needed for the GRAMPS project, and I could use some help on being a good GNOME application using pygtk/gnome-python.
Because GRAMPS is a genealogy program, it is used not only at your typical hacker, but also by your Aunt Martha. To make things as easy for the Linux newbie as possible, we want to act the way a GNOME program is supposed to act. In the process, we've encountered a few problems that we hope someone could help us with.
1) It looks like the "Recent Documents" option discussed by Alex Roitman is not something available for us at this time. This is somewhat disappointing, since while our users are expecting this to work, GNOME does not give us a method of supporting this, which is odd since the GNOME project made a big splash about this at the 2.6 release. Are there any python implementations of handling this outside of wrapping libegg ourselves?
I can't promising anything right now, but we're creating a new module, gnome-python-extras, which will likely receive some libegg stuff, including recent files.
2) It seems that the GnomeApp interface is being replaced by GtkUIManger. However, glade does not support this. I've looked at the alternate builder (can't remember its name off the top of my head), but it did not seem to support GNOME widgets, such as the Canvas. Any suggestions on what to do here?
3) What is the appropriate way to find the icon associated with a MIME type? gnome-vfs can get us the root name (e.g. i-directory), but not the full path. There is a nice routine to return the full path to the icon of an application, but not a mime-type. Right now, we a have python implementation that tries to convert a mime-type to a filename by trying to querying GCONF for the current theme, trying to convert that to a path, and trying to convert the mime type to a file name. Is there an easier way?
Maybe this will help?
http://bugzilla.gnome.org/show_bug.cgi?id=157569
TIA,
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/