From 2c8c5b280c0e84c264ea3bdbbabdead0046cd00a Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sat, 16 Jul 2011 19:11:51 -0500 Subject: ephy-file-helpers: nautilus now highlights files You can now call nautilus on a full path and it will highlight the file in its parent directory. Bug #654763 --- lib/ephy-file-helpers.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'lib') diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index 5b8c969ec..ebf163d77 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -848,18 +848,7 @@ gboolean ephy_file_browse_to (GFile *file, guint32 user_time) { - GFile *parent; - gboolean ret; - - parent = g_file_get_parent (file); - /* TODO find a way to make nautilus scroll to the actual file */ - ret = ephy_file_launch_handler ("inode/directory", - parent, - user_time); - - g_object_unref (parent); - - return ret; + return ephy_file_launch_handler ("inode/directory", file, user_time); } /** -- cgit v1.2.3