mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
Don't activate on double click of any modifiers are used.
2003-03-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-container.c (handle_icon_button_press): Don't activate on double click of any modifiers are used.
This commit is contained in:
parent
5305f2c666
commit
fdea078b1e
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-03-18 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-icon-container.c (handle_icon_button_press):
|
||||
Don't activate on double click of any modifiers are used.
|
||||
|
||||
2003-03-18 Frederic Crozat <fcrozat@mandrakesoft.com>
|
||||
|
||||
* libnautilus-private/nautilus-icon-factory.c:
|
||||
|
|
|
@ -3723,11 +3723,12 @@ handle_icon_button_press (NautilusIconContainer *container,
|
|||
}
|
||||
if (event->type == GDK_2BUTTON_PRESS &&
|
||||
event->button == DRAG_BUTTON) {
|
||||
if (icon == details->double_click_icon[1]) {
|
||||
/* Double clicking does not trigger a D&D action. */
|
||||
details->drag_button = 0;
|
||||
details->drag_icon = NULL;
|
||||
|
||||
/* Double clicking does not trigger a D&D action. */
|
||||
details->drag_button = 0;
|
||||
details->drag_icon = NULL;
|
||||
|
||||
if (icon == details->double_click_icon[1] &&
|
||||
!button_event_modifies_selection (event)) {
|
||||
activate_selected_items (container);
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue