diff options
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index b9f59e14..d53f4340 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -1705,7 +1705,8 @@ start_editing_cb (GtkTreeView *tree_view, GtkTreePath *path; GtkTreeViewColumn *column; - if (event->window != gtk_tree_view_get_bin_window (tree_view)) + if ((event->window != gtk_tree_view_get_bin_window (tree_view)) || + (event->type != GDK_2BUTTON_PRESS)) return FALSE; if (gtk_tree_view_get_path_at_pos (tree_view, |