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



commit e4f18c350ca6a1ffe75438686e2a5c8054f8571d
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 e4f1883..21968e1 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -1057,16 +1057,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]