summaryrefslogtreecommitdiff
path: root/src/procman.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 21:41:05 +0100
committerinfirit <[email protected]>2014-12-18 21:41:05 +0100
commitea1cbf9444a57992df9091ff585cc79eeaf60e5a (patch)
treed9d119b040af7e54e092261eef89da64500807d4 /src/procman.h
parent6034caada16eab3b07e090c0f2b29a1a3dd9d105 (diff)
downloadmate-system-monitor-ea1cbf9444a57992df9091ff585cc79eeaf60e5a.tar.bz2
mate-system-monitor-ea1cbf9444a57992df9091ff585cc79eeaf60e5a.tar.xz
Added priority selection submenu with preset priority items
Taken from GSM commit: 70ba9c1af2dbd8b74943b1a283f718d8646f087b From: Robert Roth <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=131803
Diffstat (limited to 'src/procman.h')
-rw-r--r--src/procman.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/procman.h b/src/procman.h
index 2adfb7d..5bfb7b8 100644
--- a/src/procman.h
+++ b/src/procman.h
@@ -49,6 +49,15 @@ enum
ACTIVE_PROCESSES
};
+enum
+{
+ VERY_HIGH_PRIORITY,
+ HIGH_PRIORITY,
+ NORMAL_PRIORITY,
+ LOW_PRIORITY,
+ VERY_LOW_PRIORITY,
+ CUSTOM_PRIORITY
+};
static const unsigned MIN_UPDATE_INTERVAL = 1 * 1000;
static const unsigned MAX_UPDATE_INTERVAL = 100 * 1000;