summaryrefslogtreecommitdiff
path: root/multiload/global.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-30 17:43:49 +0200
committerraveit65 <[email protected]>2020-08-29 12:56:23 +0200
commitc9dd864cff1326c8867c57ef2df3835fd5e2e35e (patch)
treed21243137beea341f24fa567cc661cc641a521ae /multiload/global.h
parent4d40e896df3aa7c5d2dcf91bdf024f0373f0bf22 (diff)
downloadmate-applets-c9dd864cff1326c8867c57ef2df3835fd5e2e35e.tar.bz2
mate-applets-c9dd864cff1326c8867c57ef2df3835fd5e2e35e.tar.xz
multiload: do not use a computed compound key for graph visibility
Diffstat (limited to 'multiload/global.h')
-rw-r--r--multiload/global.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/multiload/global.h b/multiload/global.h
index 5e93be0a..c22bddad 100644
--- a/multiload/global.h
+++ b/multiload/global.h
@@ -17,6 +17,13 @@ G_BEGIN_DECLS
#define MAX_NET_THRESHOLD2 999999999
#define MAX_NET_THRESHOLD3 1000000000
+#define VIEW_CPULOAD_KEY "view-cpuload"
+#define VIEW_MEMLOAD_KEY "view-memload"
+#define VIEW_NETLOAD_KEY "view-netload"
+#define VIEW_SWAPLOAD_KEY "view-swapload"
+#define VIEW_LOADAVG_KEY "view-loadavg"
+#define VIEW_DISKLOAD_KEY "view-diskload"
+
typedef struct _MultiloadApplet MultiloadApplet;
typedef struct _LoadGraph LoadGraph;
typedef void (*LoadGraphDataFunc) (int, int [], LoadGraph *);