Print a warning when a key doesn't have a schema, so no description, makes
2009-01-28 Bastien Nocera <hadess@hadess.net> * 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 svn path=/trunk/; revision=9214
This commit is contained in:
parent
7a54cb970e
commit
d6169f8cdb
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2009-01-28 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* 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 <jensgr@gmx.net>
|
||||
|
||||
* gnome-keybinding-properties.c: (add_custom_shortcut): fix argument
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue