[gnome-system-monitor] Properly clear the selected process before looking for another (bug 580009)
- From: Chris KÃhl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Properly clear the selected process before looking for another (bug 580009)
- Date: Tue, 8 Nov 2011 09:10:01 +0000 (UTC)
commit 11e508347c5af1389b2da1c787adcb26cb0ebbef
Author: Robert Roth <robert roth off gmail com>
Date: Sun Nov 6 08:45:23 2011 +0200
Properly clear the selected process before looking for another (bug 580009)
src/callbacks.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 7b93a1a..251eebd 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -290,6 +290,8 @@ cb_row_selected (GtkTreeSelection *selection, gpointer data)
procdata->selection = selection;
+ procdata->selected_process = NULL;
+
/* get the most recent selected process and determine if there are
** no selected processes
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]