Re: OpenFileDialog , gnome_icon_lookup exception

Ivan Zlatev <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Seems to me like you are missing libgnomeui, which is used to get the
icons for the files in the GNOME WinForms FileDialog backend.

Which raises the issue of what should the WinForms team do for the
next release. libgnomeui is now deprecated and is going to be removed
- http://live.gnome.org/LibgnomeMustDie.


Kind Regards,

Ivan Zlatev
http://ivanz.com


On Wed, Sep 23, 2009 at 8:11 PM, fevans <[email protected]> wrote:
>
> I'm getting in exception in OpenFileDialog (in some directories, but not
> all).
>
> I've compiled mono from source (2.4) on RedHat Linux 64-bit. This is almost
> certainly an install issue. I'm linking with the wrong version of
> libgnomeui, or something like that. Does anyone have advice for tracking
> this one down?
>
> Thanks in advance.
>
> ===========================================
> Unhandled Exception: System.EntryPointNotFoundException: gnome_icon_lookup
>  at (wrapper managed-to-native)
> System.Windows.Forms.GnomeUtil:gnome_icon_lookup
> (intptr,intptr,string,string,intptr,string,System.Windows.Forms.GnomeUtil/GnomeIconLookupFlags,intptr)
>  at System.Windows.Forms.GnomeUtil.GetIcon (System.String file_name,
> System.String mime_type, Int32 size) [0x00000]
>  at System.Windows.Forms.GnomeHandler.AddAndGetIconIndex (System.String
> filename, System.String mime_type) [0x00000]
>  at System.Windows.Forms.MimeIconEngine.GetIconIndexForFile (System.String
> full_filename) [0x00000]
>  at System.Windows.Forms.FileSystem.GetFileFSEntry (System.IO.FileInfo
> fileinfo) [0x00000]
>  at System.Windows.Forms.FileSystem.GetNormalFolderContent (System.String
> from_folder, System.Collections.Specialized.StringCollection filters,
> System.Collections.ArrayList& directories_out, System.Collections.ArrayList&
> files_out) [0x00000]
>  at System.Windows.Forms.FileSystem.GetFolderContent
> (System.Collections.Specialized.StringCollection filters,
> System.Collections.ArrayList& directories_out, System.Collections.ArrayList&
> files_out) [0x00000]
>  at System.Windows.Forms.MWFVFS+WorkerThread.GetFolderContentThread ()
> [0x00000]
> --
> View this message in context: http://www.nabble.com/OpenFileDialog-%2C-gnome_icon_lookup-exception-tp25531258p25531258.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-winforms-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.