From ea1cbf9444a57992df9091ff585cc79eeaf60e5a Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 18 Dec 2014 21:41:05 +0100 Subject: Added priority selection submenu with preset priority items Taken from GSM commit: 70ba9c1af2dbd8b74943b1a283f718d8646f087b From: Robert Roth Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=131803 --- src/procman.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/procman.h') 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; -- cgit v1.2.1