[gnome-system-monitor] Fixed right-click in process tree clearing multiple selection



commit 70dd0dc7408f004bdeffbabaa0a874295ff9120f
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Dec 7 21:59:40 2012 +0200

    Fixed right-click in process tree clearing multiple selection

 src/callbacks.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 095270e..b80fe5a 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -356,9 +356,10 @@ cb_tree_button_pressed (GtkWidget *widget,
 {
     ProcmanApp * const app = static_cast<ProcmanApp *>(data);
 
-    if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
+    if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
         do_popup_menu (app, event);
-
+        return TRUE;
+    }
     return FALSE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]