Prepend the directory name before loading the files, otherwise, we're
2007-03-21 Bastien Nocera <hadess@hadess.net> * gnome-keybinding-properties.c: (reload_key_entries): Prepend the directory name before loading the files, otherwise, we're loading them from the current directory, spotted by Fernando Herrera <fherrera@onirica.com> (Closes: #420796) svn path=/trunk/; revision=7411
This commit is contained in:
parent
94238895cb
commit
dddfaa2a2a
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-03-21 Bastien Nocera <hadess@hadess.net>
|
||||||
|
|
||||||
|
* gnome-keybinding-properties.c: (reload_key_entries):
|
||||||
|
Prepend the directory name before loading the files, otherwise, we're
|
||||||
|
loading them from the current directory, spotted by Fernando Herrera
|
||||||
|
<fherrera@onirica.com> (Closes: #420796)
|
||||||
|
|
||||||
2007-03-19 Bastien Nocera <hadess@hadess.net>
|
2007-03-19 Bastien Nocera <hadess@hadess.net>
|
||||||
|
|
||||||
* Makefile.am:
|
* Makefile.am:
|
||||||
|
|
|
@ -759,8 +759,12 @@ reload_key_entries (gpointer wm_name, GladeXML *dialog)
|
||||||
|
|
||||||
for (l = list; l != NULL; l = l->next)
|
for (l = list; l != NULL; l = l->next)
|
||||||
{
|
{
|
||||||
append_keys_to_tree_from_file (dialog, l->data, wm_name);
|
gchar *path;
|
||||||
|
|
||||||
|
path = g_build_filename (GNOMECC_KEYBINDINGS_DIR, l->data, NULL);
|
||||||
|
append_keys_to_tree_from_file (dialog, path, wm_name);
|
||||||
g_free (l->data);
|
g_free (l->data);
|
||||||
|
g_free (path);
|
||||||
}
|
}
|
||||||
g_list_free (list);
|
g_list_free (list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue