diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-02 04:43:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-02 04:43:18 +0300 |
commit | c845e800f0d4b17bc5ce65806fa5fadd9468c858 (patch) | |
tree | a6bc48691aba3a2dd0e88aa18bc3a17a842bf76b /src/gui/setup_other.cpp | |
parent | bebb93a423a9f6bc7a2b7a610548da6ceaacee97 (diff) | |
download | plus-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.gz plus-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.bz2 plus-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.xz plus-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.cpp | 10 |
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() |