summaryrefslogtreecommitdiff
path: root/src/gui/setup_other.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-02 04:43:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-02 04:43:18 +0300
commitc845e800f0d4b17bc5ce65806fa5fadd9468c858 (patch)
treea6bc48691aba3a2dd0e88aa18bc3a17a842bf76b /src/gui/setup_other.cpp
parentbebb93a423a9f6bc7a2b7a610548da6ceaacee97 (diff)
downloadmv-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.gz
mv-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.bz2
mv-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.xz
mv-c845e800f0d4b17bc5ce65806fa5fadd9468c858.zip
Change auto hide screen buttons to 3 states
(always show, hide in small window, always hide)
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()