Rename an option in Preferences dialog to fit other settings

Rename 'Darken inactive tabs' to 'Change inactive tab color' and add "Go to Settings" for "inactive tab" in Style Configurator.

Fix #15800, close #15840
This commit is contained in:
Alan Kilborn 2024-11-22 07:22:08 -05:00 committed by Don Ho
parent aaf3b3906e
commit 2c1212cba5
4 changed files with 8 additions and 3 deletions

View File

@ -954,7 +954,7 @@ Translation note:
<Item id="6106" name="Tab Bar"/>
<Item id="6107" name="Reduce"/>
<Item id="6108" name="Lock (no drag and drop)"/>
<Item id="6109" name="Darken inactive tabs"/>
<Item id="6109" name="Change inactive tab color"/>
<Item id="6110" name="Draw a colored bar on active tab"/>
<Item id="6112" name="Show close button on each tab"/>
<Item id="6113" name="Double click to close document"/>

View File

@ -954,7 +954,7 @@ Translation note:
<Item id="6106" name="Tab Bar"/>
<Item id="6107" name="Reduce"/>
<Item id="6108" name="Lock (no drag and drop)"/>
<Item id="6109" name="Darken inactive tabs"/>
<Item id="6109" name="Change inactive tab color"/>
<Item id="6110" name="Draw a colored bar on active tab"/>
<Item id="6112" name="Show close button on each tab"/>
<Item id="6113" name="Double click to close document"/>

View File

@ -1166,6 +1166,11 @@ std::pair<intptr_t, intptr_t> WordStyleDlg::goToPreferencesSettings()
result.first = edit2;
result.second = IDC_CHECK_WITHCUSTOMCOLOR_CRLF;
}
else if (style._styleDesc == L"Inactive tabs")
{
result.first = general;
result.second = IDC_CHECK_DRAWINACTIVE;
}
else if (style._styleDesc == g_npcStyleName)
{
result.first = edit2;

View File

@ -56,7 +56,7 @@ BEGIN
CONTROL "Reduce",IDC_CHECK_REDUCE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,47,164,10
CONTROL "Alternate icons",IDC_CHECK_TAB_ALTICONS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,60,164,10
CONTROL "Lock (no drag and drop)",IDC_CHECK_LOCK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,73,164,10
CONTROL "Darken inactive tabs",IDC_CHECK_DRAWINACTIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,86,164,10
CONTROL "Change inactive tab color",IDC_CHECK_DRAWINACTIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,86,164,10
CONTROL "Draw a coloured bar on active tab",IDC_CHECK_ORANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,99,164,10
CONTROL "Show close button on each tab",IDC_CHECK_ENABLETABCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,229,112,164,10
CONTROL "Enable pin tab feature", IDC_CHECK_ENABLETABPIN,"Button", BS_AUTOCHECKBOX | WS_TABSTOP, 229, 125, 164, 10