summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c
index 34b64664..4f257333 100644
--- a/capplets/keybindings/mate-keybinding-properties.c
+++ b/capplets/keybindings/mate-keybinding-properties.c
@@ -1704,7 +1704,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,