[nautilus/gnome-3-8] Store the correct current_item if it has changed. It is incorrect to ignore the new current item jus
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-8] Store the correct current_item if it has changed. It is incorrect to ignore the new current item jus
- Date: Wed, 17 Jul 2013 14:12:08 +0000 (UTC)
commit 70cba46d78fc75577cef291979c323ed7d30af20
Author: Srinivasa Ragavan <srinivasa ragavan venkateswaran intel com>
Date: Wed Jul 17 19:15:39 2013 +0530
Store the correct current_item if it has changed. It is incorrect to
ignore the new current item just because the mouse is down. It is
later used for right click.
Fixes bgo #704289.
eel/eel-canvas.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 7ebd6cc..c929727 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -2593,6 +2593,7 @@ pick_current_item (EelCanvas *canvas, GdkEvent *event)
/* new_current_item may have been set to NULL during the call to emit_event() above */
if ((canvas->new_current_item != canvas->current_item) && button_down) {
+ canvas->current_item = canvas->new_current_item;
canvas->left_grabbed_item = TRUE;
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]