I've recently implemented drag and drop into a GnomeIconList. Once the
file is dropped, I want to display an icon for the file. I would like to
use the normal Gnome icons, but I'm not sure how to find them. I have
discovered that I use something like:

   gnome.mime.get_value('application/pdf','icon-filename')

I get a full path to what appears to be the gmc icon, and if I do
something like:

   gnome.mime.get_value('application/pdf','icon_filename')

I can get either a basename or a partial basename for a image name
relative to nautilus's icons. I then appear to have to search for the
appropriate path to get the icon. 

What is the proper way to do this? I would like to display the icon with
which the user is familiar.

-- 
Don Allingham
[EMAIL PROTECTED]

GPG/PGP Public Key at
http://members.home.net/donaldallingham/dallingham.key

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to