diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-28 23:26:14 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-01-04 23:12:43 +0100 |
commit | a3cced9fb615a1cfe0b334fc41dc785f1fb9aef5 (patch) | |
tree | b54469629867cbff2a2dd7489a5c1682d5e22440 /DisplayOptionsPanel.c | |
parent | 24c5ca9ddfbe088a3d25694cbe170eaf3d7f828f (diff) |
Add option to hide the Function Bar
Support three settings:
- Always show Function Bar
- Always hide the Function Bar, except in Infoscreens (Env/Locks...)
and when editing the search and filter mode
- Hide the Function Bar on ESC until the next user input
Closes: #439
Diffstat (limited to 'DisplayOptionsPanel.c')
-rw-r--r-- | DisplayOptionsPanel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DisplayOptionsPanel.c b/DisplayOptionsPanel.c index 49beb5a6..4b8793af 100644 --- a/DisplayOptionsPanel.c +++ b/DisplayOptionsPanel.c @@ -124,6 +124,7 @@ DisplayOptionsPanel* DisplayOptionsPanel_new(Settings* settings, ScreenManager* Panel_add(super, (Object*) NumberItem_newByRef("Update interval (in seconds)", &(settings->delay), -1, 1, 255)); Panel_add(super, (Object*) CheckItem_newByRef("Highlight new and old processes", &(settings->highlightChanges))); Panel_add(super, (Object*) NumberItem_newByRef("- Highlight time (in seconds)", &(settings->highlightDelaySecs), 0, 1, 24*60*60)); + Panel_add(super, (Object*) NumberItem_newByRef("Hide Function Bar (0 - off, 1 - on ESC until next input, 2 - permanently)", &(settings->hideFunctionBar), 0, 0, 2)); #ifdef HAVE_LIBHWLOC Panel_add(super, (Object*) CheckItem_newByRef("Show topology when selecting affinity by default", &(settings->topologyAffinity))); #endif |