forked from AuroraMiddleware/gtk
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:
parent
3f7318432c
commit
aa30278e6b
@ -2369,8 +2369,7 @@ gtk_icon_view_button_press (GtkWidget *widget,
|
|||||||
icon_view->priv->press_start_y = event->y;
|
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 */
|
/* cancel the current editing, if it exists */
|
||||||
gtk_cell_area_stop_editing (icon_view->priv->cell_area, TRUE);
|
gtk_cell_area_stop_editing (icon_view->priv->cell_area, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user