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:
Matthias Clasen 2008-10-19 22:36:40 +00:00 committed by Matthias Clasen
parent 457bec685e
commit c2d6ffeeba
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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.
2008-10-16 Davyd Madeley <davyd@madeley.id.au> 2008-10-16 Davyd Madeley <davyd@madeley.id.au>
* po/POTFILES.in: readd to POTFILES.in * po/POTFILES.in: readd to POTFILES.in

View file

@ -170,6 +170,9 @@ description_set_func (GtkTreeViewColumn *tree_column,
"text", key_entry->description != NULL ? "text", key_entry->description != NULL ?
key_entry->description : _("<Unknown Action>"), key_entry->description : _("<Unknown Action>"),
NULL); NULL);
else
g_object_set (cell,
"editable", FALSE, NULL);
} }
static gboolean static gboolean