From a1cdf0bf4ec66a9374f9e3dcab0ca708df4de615 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 30 Nov 2009 19:24:48 +0100 Subject: [PATCH] Load default accels file from /etc/xdg/midori if no accels present --- midori/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/main.c b/midori/main.c index a52f521b..f2c99370 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1837,6 +1837,8 @@ main (int argc, error = NULL; settings = settings_new_from_file (config_file, &extensions); katze_assign (config_file, build_config_filename ("accels")); + if (!g_file_test (config_file, G_FILE_TEST_EXISTS)) + katze_assign (config_file, sokoke_find_config_filename (NULL, "accels")); gtk_accel_map_load (config_file); katze_assign (config_file, build_config_filename ("search")); error = NULL; -- 2.39.5