[gnome-control-center] keyboard: We don't have a tree for the shortcuts



commit df372b56fea31e3f6fb9a96963f375fd09c387f7
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 14 19:18:18 2012 +0000

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

 panels/keyboard/keyboard-shortcuts.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index 2f07891..796e9dd 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -999,16 +999,6 @@ start_editing_kb_cb (GtkTreeView *treeview,
                       DETAIL_KEYENTRY_COLUMN, &item,
                       -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
    * always select the accel column */
   if (item->desc_editable &&



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]