From 1d4f129d6c5b7962575927e26356d1dccdde5467 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 24 Oct 2011 00:16:44 +0200 Subject: [PATCH] Use right paths in _action_bookmarks_import_activate --- midori/midori-browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5