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
This commit is contained in:
William Jon McCann 2013-01-18 16:50:47 -05:00 committed by Matthias Clasen
parent 3f7318432c
commit aa30278e6b

View File

@ -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);