diff --git a/capplets/keybindings/ChangeLog b/capplets/keybindings/ChangeLog index b0733e7c0..2752230ec 100644 --- a/capplets/keybindings/ChangeLog +++ b/capplets/keybindings/ChangeLog @@ -1,3 +1,11 @@ +2009-01-28 Bastien Nocera + + * gnome-keybinding-properties.c (append_keys_to_tree): + Print a warning when a key doesn't have a schema, so no + description, makes debugging things like: + https://bugzilla.redhat.com/show_bug.cgi?id=482813 + easier + 2009-01-25 Jens Granseuer * gnome-keybinding-properties.c: (add_custom_shortcut): fix argument diff --git a/capplets/keybindings/gnome-keybinding-properties.c b/capplets/keybindings/gnome-keybinding-properties.c index 0f101f1ad..55f50339f 100644 --- a/capplets/keybindings/gnome-keybinding-properties.c +++ b/capplets/keybindings/gnome-keybinding-properties.c @@ -606,6 +606,12 @@ append_keys_to_tree (GladeXML *dialog, } } + if (description == NULL) + { + g_warning ("No description for key '%s'", key_string); + description = g_path_get_basename (key_string); + } + if (keys_list[j].cmd_name != NULL) { command = gconf_client_get_string (client, keys_list[j].cmd_name, NULL);