[Xfce4-commits] <midori:master> Load default accels file from /etc/xdg/midori if no accels present
Christian Dywan
noreply at xfce.org
Mon Nov 30 19:38:03 CET 2009
Updating branch refs/heads/master
to a1cdf0bf4ec66a9374f9e3dcab0ca708df4de615 (commit)
from 56b0a55a2db25b79ada424aece45e305f26ff90f (commit)
commit a1cdf0bf4ec66a9374f9e3dcab0ca708df4de615
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Nov 30 19:24:48 2009 +0100
Load default accels file from /etc/xdg/midori if no accels present
midori/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index a52f521..f2c9937 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;
More information about the Xfce4-commits
mailing list