[gnome-system-monitor] Revert renice change committed by mistake



commit 3dc0f4134b15a410f7556a5db22c1829f25fb3de
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Aug 9 19:57:44 2013 +0300

    Revert renice change committed by mistake

 src/procactions.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/procactions.cpp b/src/procactions.cpp
index 501dfc8..0f192c2 100644
--- a/src/procactions.cpp
+++ b/src/procactions.cpp
@@ -49,7 +49,7 @@ renice_single_process (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter
         return;
     if (info->nice == args->nice_value)
         return;
-    error = setpriority (PRIO_PGRP, info->pid, args->nice_value);
+    error = setpriority (PRIO_PROCESS, info->pid, args->nice_value);
 
     /* success */
     if(error != -1) return;


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