Skip to content

Commit

Permalink
keybindings: double click instead one click to edit keyboard shortcuts
Browse files Browse the repository at this point in the history
Closes #390
  • Loading branch information
sc0w committed Nov 17, 2018
1 parent ba5a88c commit 8c44ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capplets/keybindings/mate-keybinding-properties.c
Expand Up @@ -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,
Expand Down

0 comments on commit 8c44ea6

Please sign in to comment.