summaryrefslogtreecommitdiff
path: root/src/gui/setup_other.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_other.cpp')
-rw-r--r--src/gui/setup_other.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index 602f94fcb..ff678225f 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -164,8 +164,12 @@ Setup_Other::Setup_Other()
new SetupItemLabel(_("Windows"), "", this);
- new SetupItemCheckBox(_("Auto hide shortcuts buttons."), "",
- "autohideButtons", this, "autohideButtonsEvent");
+ mShortcutsList = new SetupItemNames();
+ mShortcutsList->push_back(_("Always show"));
+ mShortcutsList->push_back(_("Auto hide in small resolution"));
+ mShortcutsList->push_back(_("Always auto hide"));
+ new SetupItemSlider2(_("Shortcut buttons"), "", "autohideButtons", this,
+ "autohideButtonsEvent", 0, 2, mShortcutsList, false, true, true);
new SetupItemLabel(_("Proxy server"), "", this);
@@ -222,6 +226,8 @@ Setup_Other::~Setup_Other()
{
delete mProxyTypeList;
mProxyTypeList = nullptr;
+ delete mShortcutsList;
+ mShortcutsList = nullptr;
}
void Setup_Other::apply()