keyboard: We don't have a tree for the shortcuts

This commit is contained in:
Bastien Nocera 2012-02-14 19:18:18 +00:00
parent 31c9d27b51
commit df372b56fe

View file

@ -999,16 +999,6 @@ start_editing_kb_cb (GtkTreeView *treeview,
DETAIL_KEYENTRY_COLUMN, &item, DETAIL_KEYENTRY_COLUMN, &item,
-1); -1);
if (item == NULL)
{
/* This is a section heading - expand or collapse */
if (gtk_tree_view_row_expanded (treeview, path))
gtk_tree_view_collapse_row (treeview, path);
else
gtk_tree_view_expand_row (treeview, path, FALSE);
return;
}
/* if only the accel can be edited on the selected row /* if only the accel can be edited on the selected row
* always select the accel column */ * always select the accel column */
if (item->desc_editable && if (item->desc_editable &&