Load default accels file from /etc/xdg/midori if no accels present
This commit is contained in:
parent
56b0a55a2d
commit
a1cdf0bf4e
1 changed files with 2 additions and 0 deletions
|
@ -1837,6 +1837,8 @@ main (int argc,
|
||||||
error = NULL;
|
error = NULL;
|
||||||
settings = settings_new_from_file (config_file, &extensions);
|
settings = settings_new_from_file (config_file, &extensions);
|
||||||
katze_assign (config_file, build_config_filename ("accels"));
|
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);
|
gtk_accel_map_load (config_file);
|
||||||
katze_assign (config_file, build_config_filename ("search"));
|
katze_assign (config_file, build_config_filename ("search"));
|
||||||
error = NULL;
|
error = NULL;
|
||||||
|
|
Loading…
Reference in a new issue