public static MimeApplication NewFromId(string id) { IntPtr native_id = GLib.Marshaller.StringToPtrGStrdup(id); MimeApplication result = new MimeApplication(gnome_vfs_mime_application_new_from_id(native_id)); GLib.Marshaller.Free(native_id); return(result); }
private void OpenWith (Gnome.Vfs.MimeApplication mime_application) { GLib.List uri_list = new GLib.List (typeof (string)); uri_list.Append (Hit.EscapedUri); mime_application.Launch (uri_list); }