Avoid a bug where we get stuck grabs when you double click.

2000-03-10  Jonathan Blandford  <jrb@redhat.com>

	* libnautilus/gnome-icon-container.c (button_press_event): Avoid a
	bug where we get stuck grabs when you double click.
This commit is contained in:
Jonathan Blandford 2000-03-10 21:19:06 +00:00 committed by Jonathan Blandford
parent 0932a669c7
commit d21681ac5d
4 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2000-03-10 Jonathan Blandford <jrb@redhat.com>
* libnautilus/gnome-icon-container.c (button_press_event): Avoid a
bug where we get stuck grabs when you double click.
2000-03-10 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-widgets:

View file

@ -1852,7 +1852,10 @@ button_press_event (GtkWidget *widget,
return TRUE;
/* An item didn't take the press, so it's a background press. */
/* We ignore dbl clicks on the desktop for now */
if ((event->type == GDK_2BUTTON_PRESS) || (event->type == GDK_3BUTTON_PRESS))
return TRUE;
/* Button 1 does rubber banding. */
if (event->button == RUBBERBAND_BUTTON) {
if (! button_event_modifies_selection (event)) {

View file

@ -1852,7 +1852,10 @@ button_press_event (GtkWidget *widget,
return TRUE;
/* An item didn't take the press, so it's a background press. */
/* We ignore dbl clicks on the desktop for now */
if ((event->type == GDK_2BUTTON_PRESS) || (event->type == GDK_3BUTTON_PRESS))
return TRUE;
/* Button 1 does rubber banding. */
if (event->button == RUBBERBAND_BUTTON) {
if (! button_event_modifies_selection (event)) {

View file

@ -1852,7 +1852,10 @@ button_press_event (GtkWidget *widget,
return TRUE;
/* An item didn't take the press, so it's a background press. */
/* We ignore dbl clicks on the desktop for now */
if ((event->type == GDK_2BUTTON_PRESS) || (event->type == GDK_3BUTTON_PRESS))
return TRUE;
/* Button 1 does rubber banding. */
if (event->button == RUBBERBAND_BUTTON) {
if (! button_event_modifies_selection (event)) {