Re: [Gtk-sharp-list] Again: Associated Icon File

2006-12-09 Thread Luciano Callero
Thanks. i will try it. >From: "Eskil Bylund" <[EMAIL PROTECTED]> >To: gtk-sharp-list@lists.ximian.com >Subject: [Gtk-sharp-list] Again: Associated Icon File >Date: Sat, 9 Dec 2006 04:13:57 +0100 >MIME-Version: 1.0 >Received: from lists.ximian.com ([130.

[Gtk-sharp-list] Again: Associated Icon File

2006-12-08 Thread Eskil Bylund
Hi Luciano, You can use the methods from Gnome.Vfs. For example: // A new pixbuf might be created for every call, so remember to keep a reference to the returned pixbuf. public static Gdk.Pixbuf GetIcon(string filename, int size) { string mimeType = Gnome.Vfs.Mime.TypeFromName(filename);

[Gtk-sharp-list] Again: Associated Icon File

2006-12-06 Thread Luciano Callero
Sorry, i re-post my question again, i have this, and i need help to finish a project. The question, is: I'm developing an application with MonoDevelop, with GTKSharp. The question: I need to obtain the icon for a file path (The gnome associated icon). If it is a *tar* or *pdf* file (example) i n