Commit aa30278e authored by William Jon McCann's avatar William Jon McCann Committed by Matthias Clasen

Allow activating an item after single click on a different item

We were ignoring double click events when a different item was
previously selected.

https://bugzilla.gnome.org/show_bug.cgi?id=484640
parent 3f731843
......@@ -2369,8 +2369,7 @@ gtk_icon_view_button_press (GtkWidget *widget,
icon_view->priv->press_start_y = event->y;
}
if (!icon_view->priv->last_single_clicked)
icon_view->priv->last_single_clicked = item;
icon_view->priv->last_single_clicked = item;
/* cancel the current editing, if it exists */
gtk_cell_area_stop_editing (icon_view->priv->cell_area, TRUE);
......
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