[Xfce4-commits] <midori:master> Use right paths in _action_bookmarks_import_activate
Christian Dywan
noreply at xfce.org
Mon Oct 24 00:24:01 CEST 2011
Updating branch refs/heads/master
to 1d4f129d6c5b7962575927e26356d1dccdde5467 (commit)
from 33cd9d57a47b8c8723af9c539377747b6f2f0b88 (commit)
commit 1d4f129d6c5b7962575927e26356d1dccdde5467
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Oct 24 00:16:44 2011 +0200
Use right paths in _action_bookmarks_import_activate
midori/midori-browser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 008a872..f92bd56 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,
More information about the Xfce4-commits
mailing list