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 authored and lukefromdc committed Nov 18, 2018
1 parent e01defa commit e5c3e4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capplets/keybindings/mate-keybinding-properties.c
Expand Up @@ -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,
Expand Down

0 comments on commit e5c3e4f

Please sign in to comment.