From: Christian Dywan Date: Sun, 23 Oct 2011 22:16:44 +0000 (+0200) Subject: Use right paths in _action_bookmarks_import_activate X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d4f129d6c5b7962575927e26356d1dccdde5467;p=midori Use right paths in _action_bookmarks_import_activate --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 008a8720..f92bd562 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -4317,7 +4317,7 @@ _action_bookmarks_import_activate (GtkAction* action, : g_strdup (_(client)); gtk_list_store_insert_with_values (model, NULL, G_MAXINT, 0, display, 1, bookmark_clients[i].icon, - 2, path, 3, icon_width, -1); + 2, file, 3, icon_width, -1); g_free (display); } g_free (file); @@ -4329,7 +4329,7 @@ _action_bookmarks_import_activate (GtkAction* action, continue; } - path = g_build_filename (g_get_home_dir (), path, NULL); + path = g_build_filename (g_get_home_dir (), location, NULL); if (g_access (path, F_OK) == 0) gtk_list_store_insert_with_values (model, NULL, G_MAXINT, 0, _(client), 1, bookmark_clients[i].icon,