[epiphany] ephy-file-helpers: nautilus now highlights files



commit 2c8c5b280c0e84c264ea3bdbbabdead0046cd00a
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Sat Jul 16 19:11:51 2011 -0500

    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 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 5b8c969..ebf163d 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);
 }
 
 /**



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