aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2008-01-25 00:23:39 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-01-25 00:23:39 +0800
commit8a9b52b0d79eb9ba3568d04a698845e233e07043 (patch)
treed7729d77a17bae84e5c7b34f5c12959a0174ef0f
parente543cf818c78c949d3495e9767f39560e921e909 (diff)
downloadgsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar.gz
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar.bz2
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar.lz
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar.xz
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.tar.zst
gsoc2013-epiphany-8a9b52b0d79eb9ba3568d04a698845e233e07043.zip
Use g_file_new_for_uri () instead of g_file_new_for_path () in
ephy_file_browse_to (). Fix bug #511759. svn path=/trunk/; revision=7886
-rw-r--r--lib/ephy-file-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 65b74db8b..22e8ef9e9 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -603,7 +603,7 @@ ephy_file_launch_application (GAppInfo *app,
GAppLaunchContext *context;
GdkDisplay *display;
GdkScreen *screen;
-
+
context = G_APP_LAUNCH_CONTEXT (eel_app_launch_context_new ());
if (widget)
{
@@ -709,7 +709,7 @@ ephy_file_browse_to (const char *parameter,
char *desktop_dir;
gboolean ret;
- file = g_file_new_for_path (parameter);
+ file = g_file_new_for_uri (parameter);
desktop_dir = ephy_file_desktop_dir ();
desktop = g_file_new_for_path (desktop_dir);