diff options
author | monsta <[email protected]> | 2016-03-01 15:20:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-03-01 15:20:33 +0300 |
commit | 254a91f8e544685e7de8b110f4981561e2a77a74 (patch) | |
tree | ffc1152569678e5dbd7cffef3278bd9006a009b2 | |
parent | 08a5f99c1d53e27f6517c129c79fe4e7b887a843 (diff) | |
download | mate-system-monitor-254a91f8e544685e7de8b110f4981561e2a77a74.tar.bz2 mate-system-monitor-254a91f8e544685e7de8b110f4981561e2a77a74.tar.xz |
Revert "process table: don't clear multiple rows selection on right click"
This reverts commit b7c2c34a6662ee043be997c54ff1c85318818c2d.
dammit. this made right-clicking on initially unfocused process table
impossible. I had to select a process first, then right-click on it,
or else all the right-click menu items were appearing grayed out.
reverting this until we figure out how to do it without unwanted side
effects.
-rw-r--r-- | src/callbacks.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp index 18a9823..87e6bdf 100644 --- a/src/callbacks.cpp +++ b/src/callbacks.cpp @@ -356,10 +356,8 @@ cb_tree_button_pressed (GtkWidget *widget, { ProcData * const procdata = static_cast<ProcData*>(data); - if (event->button == 3 && event->type == GDK_BUTTON_PRESS) { + if (event->button == 3 && event->type == GDK_BUTTON_PRESS) do_popup_menu (procdata, event); - return TRUE; - } return FALSE; } |