mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-17 23:01:59 +00:00
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:
parent
0932a669c7
commit
d21681ac5d
|
@ -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:
|
||||
|
|
|
@ -1852,6 +1852,9 @@ 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) {
|
||||
|
|
|
@ -1852,6 +1852,9 @@ 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) {
|
||||
|
|
|
@ -1852,6 +1852,9 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue