Ok here is the patch, but there is a nasty side affect.
Index: src/src/environmentsettingsdlg.cpp
===================================================================
--- src/src/environmentsettingsdlg.cpp (revision 3309)
+++ src/src/environmentsettingsdlg.cpp (working copy)
@@ -157,6 +157,7 @@
// tab "Notebook"
XRCCTRL(*this, "cmbEditorTabs", wxComboBox)->SetSelection(cfg->ReadInt(_T("/environment/tabs_style"), 0));
XRCCTRL(*this, "chkSmartTabs", wxCheckBox)->SetValue(cfg->ReadBool(_T("/environment/tabs_smart"), 0));
+ XRCCTRL(*this, "chkListTabs", wxCheckBox)->SetValue(cfg->ReadBool(_T("/environment/tabs_list"), 0));
XRCCTRL(*this, "btnFNBorder", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_border"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW))));
XRCCTRL(*this, "btnFNFrom", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_from"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))));
XRCCTRL(*this, "btnFNTo", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_to"), *wxWHITE));
@@ -382,6 +383,7 @@
// tab "Appearence"
cfg->Write(_T("/environment/tabs_style"), (int)XRCCTRL(*this, "cmbEditorTabs", wxComboBox)->GetSelection());
cfg->Write(_T("/environment/tabs_smart"), (bool)XRCCTRL(*this, "chkSmartTabs", wxCheckBox)->GetValue());
+ cfg->Write(_T("/environment/tabs_list"), (bool)XRCCTRL(*this, "chkListTabs", wxCheckBox)->GetValue());
cfg->Write(_T("/environment/gradient_border"), XRCCTRL(*this, "btnFNBorder", wxButton)->GetBackgroundColour());
cfg->Write(_T("/environment/gradient_from"), XRCCTRL(*this, "btnFNFrom", wxButton)->GetBackgroundColour());
cfg->Write(_T("/environment/gradient_to"), XRCCTRL(*this, "btnFNTo", wxButton)->GetBackgroundColour());
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 3309)
+++ src/src/main.cpp (working copy)
@@ -1457,13 +1457,21 @@
nbstyle = 0;
break;
}
+
nbstyle |= defaultStyle;
+
if (cfg->ReadBool(_T("/environment/") + prefix + _T("_tabs_bottom")))
nbstyle |= wxFNB_BOTTOM;
if (cfg->ReadBool(_T("/environment/tabs_smart")))
nbstyle |= wxFNB_SMART_TABS;
+ if (cfg->ReadBool(_T("/environment/tabs_list")))
+ {
+ nbstyle |= wxFNB_DROPDOWN_TABS_LIST;
+ nbstyle |= wxFNB_NO_NAV_BUTTONS;
+ }
+
target->SetWindowStyleFlag(nbstyle);
target->SetGradientColorBorder(cfg->ReadColour(_T("/environment/gradient_border"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW))));
target->SetGradientColorFrom(cfg->ReadColour(_T("/environment/gradient_from"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))));
Index: src/src/resources/env_settings.xrc
===================================================================
--- src/src/resources/env_settings.xrc (revision 3309)
+++ src/src/resources/env_settings.xrc (working copy)
@@ -439,6 +439,13 @@
<label>Use Smart Tab-switching scheme</label>
</object>
</object>
+ <object class="sizeritem">
+ <border>8</border>
+ <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
+ <object class="wxCheckBox" name="chkListTabs">
+ <label>Use drop-down tab list</label>
+ </object>
+ </object>
</object>
</object>
</object>
@@ -658,4 +665,4 @@
</object>
</object>
</object>
-</resource>
\ No newline at end of file
+</resource>
Now to the screenshots....