aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-07-17 08:11:51 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2011-07-17 08:29:07 +0800
commit2c8c5b280c0e84c264ea3bdbbabdead0046cd00a (patch)
tree22fdac571b171def86ff65c3e15ea13feac6a864
parente1a78db5efc2773df289f91a5211da16ec2ba992 (diff)
downloadgsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar.gz
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar.bz2
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar.lz
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar.xz
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.tar.zst
gsoc2013-epiphany-2c8c5b280c0e84c264ea3bdbbabdead0046cd00a.zip
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
-rw-r--r--lib/ephy-file-helpers.c13
1 files changed, 1 insertions, 12 deletions
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);
}
/**