Benji Fisher wrote:
> On Tue, Apr 18, 2006 at 11:05:22AM -0700, Yi Qiang wrote:
> > Bram Moolenaar wrote:
> > >The 'browsedir' option should be of help.
> > >
> > On Linux with the latest vim7 build I get:
> >
> > (gvim:14701): Gtk-CRITICAL **: gtk_file_system_unix_get_folder:
> > assertion `g_path_is_absolute (filename)' failed
> >
> > when I set browsedir=last
> >
> > Looks like that's why it is defaulting to $HOME maybe?
> >
> > Yi
>
> According to
>
> :help 'browsedir'
>
> this option only works with Win32 and Motif. Yet with my GTK2 build,
>
> :echo exists("+browsedir")
>
> returns 1 and
>
> :set browsedir=last
>
> does not generate an error. When I try
>
> :browse e
>
> I get a similar error:
>
> (gvim:30150): libgnomevfs-CRITICAL **: file gnome-vfs-utils.c: line 749
> (gnome_vfs_get_uri_from_local_path): assertion `local_full_path[0] ==
> '/'' failed
>
> Let me see: I am running FC2 with GTK2, and
>
> $ rpm -qa | grep -i gtk2
>
> returns (among other things)
>
> gtk2-2.4.0-1
>
> so I guess I am using GTK2 2.4.0.
You must also be using Gnome. That's probably the problem, the gnome
code isn't very smooth.
Anyway, I don't get this error, thus it may depend on the version of the
Gnome library.
--
If you feel lonely, try schizophrenia.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://www.ICCF.nl ///