epiphany r7886 - trunk/lib



Author: cosimoc
Date: Thu Jan 24 16:23:39 2008
New Revision: 7886
URL: http://svn.gnome.org/viewvc/epiphany?rev=7886&view=rev

Log:
Use g_file_new_for_uri () instead of g_file_new_for_path () in
ephy_file_browse_to ().
Fix bug #511759.


Modified:
   trunk/lib/ephy-file-helpers.c

Modified: trunk/lib/ephy-file-helpers.c
==============================================================================
--- trunk/lib/ephy-file-helpers.c	(original)
+++ trunk/lib/ephy-file-helpers.c	Thu Jan 24 16:23:39 2008
@@ -603,7 +603,7 @@
 	GAppLaunchContext *context;
 	GdkDisplay *display;
 	GdkScreen *screen;
-	
+
 	context = G_APP_LAUNCH_CONTEXT (eel_app_launch_context_new ());
 	if (widget)
 	{
@@ -709,7 +709,7 @@
 	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);
 	



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