Commit c619c862 authored by Paolo Borelli's avatar Paolo Borelli Committed by Matthias Clasen

filechooser: ignore double clicks on the selected item

Since we are now interpreting button press events and
make our own double-click determination, we should not
handle double-click events that are generated by GDK.
parent d74a08b8
......@@ -2403,6 +2403,7 @@ list_button_press_event_cb (GtkWidget *widget,
get_selection_modifiers (widget, event, &modify, &extend);
if (!is_touchscreen &&
!modify && !extend &&
event->type == GDK_BUTTON_PRESS &&
event->button == GDK_BUTTON_PRIMARY &&
gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (priv->browse_files_tree_view),
event->x, event->y,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment