From 8a9b52b0d79eb9ba3568d04a698845e233e07043 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 24 Jan 2008 16:23:39 +0000 Subject: 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 --- lib/ephy-file-helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); -- cgit