]> spindle.queued.net Git - midori/commitdiff
Use right paths in _action_bookmarks_import_activate
authorChristian Dywan <christian@twotoasts.de>
Sun, 23 Oct 2011 22:16:44 +0000 (00:16 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 23 Oct 2011 22:20:47 +0000 (00:20 +0200)
midori/midori-browser.c

index 008a87205465b27f8d646c745516d3184a099e77..f92bd562908ce56a586987b461179d306e80f89c 100644 (file)
@@ -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,