Bug 556967 – fix editability of group headings
2008-10-19 Matthias Clasen <mclasen@redhat.com> Bug 556967 – fix editability of group headings * capplets/keybindings/gnome-keybinding-properties.c (description_set_func): Don't let section headings be editable. svn path=/trunk/; revision=9081
This commit is contained in:
parent
457bec685e
commit
c2d6ffeeba
2 changed files with 10 additions and 0 deletions
|
@ -170,6 +170,9 @@ description_set_func (GtkTreeViewColumn *tree_column,
|
|||
"text", key_entry->description != NULL ?
|
||||
key_entry->description : _("<Unknown Action>"),
|
||||
NULL);
|
||||
else
|
||||
g_object_set (cell,
|
||||
"editable", FALSE, NULL);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue