summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-17 16:44:16 +0300
committermonsta <[email protected]>2017-04-18 21:41:37 +0300
commit213094ff71f4c77da2e6d3a29d8a10389b392818 (patch)
tree8eddc43632e0765e24fe048fc9faa8f5e808983f
parentc0ea7103c2d521ea57a78dadf211d8b6a59f8ca8 (diff)
downloadcaja-213094ff71f4c77da2e6d3a29d8a10389b392818.tar.bz2
caja-213094ff71f4c77da2e6d3a29d8a10389b392818.tar.xz
show correct right-click menu after making selection
taken from: https://git.gnome.org/browse/nautilus/commit/?id=fabea8532911c2e38d91aa6230136cff5e52f095 upstream bug with detailed description: https://bugzilla.gnome.org/704289
-rw-r--r--eel/eel-canvas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 97a6a2f0..6e01bf2e 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -2816,6 +2816,7 @@ pick_current_item (EelCanvas *canvas, GdkEvent *event)
if ((canvas->new_current_item != canvas->current_item) && button_down)
{
+ canvas->current_item = canvas->new_current_item;
canvas->left_grabbed_item = TRUE;
return retval;
}