[gthumb] fixed multiple selection with shift + mouse click
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed multiple selection with shift + mouse click
- Date: Fri, 2 Jul 2010 20:41:46 +0000 (UTC)
commit 804c04b163882069f300d09800509d5b14d25e0f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Jul 2 22:41:20 2010 +0200
fixed multiple selection with shift + mouse click
gthumb/gth-icon-view.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-icon-view.c b/gthumb/gth-icon-view.c
index 5cbf1ab..6abbaf0 100644
--- a/gthumb/gth-icon-view.c
+++ b/gthumb/gth-icon-view.c
@@ -585,8 +585,9 @@ icon_view_button_press_event_cb (GtkWidget *widget,
pos = gtk_tree_path_get_indices (path)[0];
- if (icon_view->priv->drag_source_enabled &&
- ! (event->state & GDK_CONTROL_MASK)
+ if (icon_view->priv->drag_source_enabled
+ && ! (event->state & GDK_CONTROL_MASK)
+ && ! (event->state & GDK_SHIFT_MASK)
&& gth_file_selection_is_selected (GTH_FILE_SELECTION (icon_view), pos))
{
icon_view->priv->selection_pending = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]