Fixes NB#78637
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Fri, 14 Dec 2007 15:53:38 +0000 (15:53 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Fri, 14 Dec 2007 15:53:38 +0000 (15:53 +0000)
pmo-trunk-r3922

src/maemo/modest-platform.c

index 72e2ac5..9062649 100644 (file)
@@ -335,7 +335,7 @@ modest_platform_activate_file (const gchar *path, const gchar *mime_type)
        DBusConnection *con;
        gchar *uri_path = NULL;
        
        DBusConnection *con;
        gchar *uri_path = NULL;
        
-       uri_path = g_strconcat ("file://", path, NULL); 
+       uri_path = gnome_vfs_get_uri_from_local_path (path);    
        con = osso_get_dbus_connection (modest_maemo_utils_get_osso_context());
        
        if (mime_type)
        con = osso_get_dbus_connection (modest_maemo_utils_get_osso_context());
        
        if (mime_type)