Updating branch refs/heads/master
         to b461fc9f02c38a0e862696f2b22175d0f146ce5b (commit)
       from 2458918c352addf566ec8e187892307176b71d44 (commit)

commit b461fc9f02c38a0e862696f2b22175d0f146ce5b
Author: Nick Schermer <n...@xfce.org>
Date:   Thu Dec 27 12:20:52 2012 +0100

    Revert "Directly popup menus on selected items (bug #3550)."
    
    This reverts commit d0513de8a5faa8f2f9436a8b059e674a2deea103.

 thunar/thunar-details-view.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-details-view.c b/thunar/thunar-details-view.c
index a22cec5..05a539b 100644
--- a/thunar/thunar-details-view.c
+++ b/thunar/thunar-details-view.c
@@ -691,10 +691,15 @@ thunar_details_view_button_press_event (GtkTreeView       
*tree_view,
                 gtk_tree_selection_select_path (selection, path);
             }
           gtk_tree_path_free (path);
-        }
 
-      /* open the context menu */
-      thunar_standard_view_context_menu (THUNAR_STANDARD_VIEW (details_view), 
event->button, event->time);
+          /* queue the menu popup */
+          thunar_standard_view_queue_popup (THUNAR_STANDARD_VIEW 
(details_view), event);
+        }
+      else
+        {
+          /* open the context menu */
+          thunar_standard_view_context_menu (THUNAR_STANDARD_VIEW 
(details_view), event->button, event->time);
+        }
 
       return TRUE;
     }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to