[PATCH] Recurse through the symbolic links chain when checking if the file is a directory

The attached patch should fix bug 314204[1]:

When nautilus check for launching a file, if will try and add it to the
recent files list, unless it's a directory; if the file is a symbolic
link to a directory, nautilus will threat it as a regular file
(nautilus_file_is_directory() returns FALSE).  As a result, the link
will be added to the recently used files list.


[1] http://bugzilla.gnome.org/show_bug.cgi?id=314204

Emmanuele Bassi <ebassi gmail com>
Web site: http://log.emmanuelebassi.net

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]