[Xfce4-commits] <midori:master> Disable new speed dial key file import
Christian Dywan
noreply at xfce.org
Sun Mar 13 22:16:01 CET 2011
Updating branch refs/heads/master
to 11b9f915f0cf8b35563615848b037b6814a9fdd4 (commit)
from 32825e713ff244f59e6e2f5a4a58797ff2c02ec5 (commit)
commit 11b9f915f0cf8b35563615848b037b6814a9fdd4
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Mar 13 22:10:36 2011 +0100
Disable new speed dial key file import
midori/main.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index c274fe1..5043bf8 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1467,6 +1467,7 @@ signal_handler (int signal_id)
}
#endif
+#if 0
static void
midori_speeddial_import_from_json (const gchar* json_file,
const gchar* speeddial_file)
@@ -1593,7 +1594,7 @@ midori_speeddial_import_from_json (const gchar* json_file,
g_free (json_content);
g_key_file_free (key_file);
}
-
+#endif
static void
midori_soup_session_block_uris_cb (SoupSession* session,
@@ -1802,7 +1803,9 @@ main (int argc,
MidoriWebSettings* settings;
gchar* config_file;
gchar* bookmarks_file;
+#if 0
gchar* speeddial_file;
+#endif
gboolean bookmarks_exist;
MidoriStartup load_on_startup;
KatzeArray* search_engines;
@@ -2214,6 +2217,7 @@ main (int argc,
g_free (bookmarks_file);
midori_startup_timer ("History read: \t%f");
+ #if 0
speeddial_file = g_build_filename (config, "speeddial", NULL);
if (g_access (speeddial_file, F_OK) != 0)
{
@@ -2222,6 +2226,7 @@ main (int argc,
g_free (json_file);
}
g_free (speeddial_file);
+ #endif
/* In case of errors */
if (error_messages->len)
More information about the Xfce4-commits
mailing list