This commit is contained in:
Andrey Skvortsov
2010-10-07 20:30:47 -07:00
4 changed files with 49 additions and 24 deletions

View File

@@ -1018,8 +1018,8 @@ void Preferences::savePressed () {
void Preferences::okPressed () {
storePreferences ();
options.copyFrom (&moptions);
workflowUpdate();
options.copyFrom (&moptions);
hide ();
}
@@ -1120,10 +1120,15 @@ void Preferences::switchThemeTo(Glib::ustring newTheme) {
void Preferences::workflowUpdate (){
if(moptions.tabbedUI)
parent->epanel->hide_all();
else
parent->epanel->show_all();
if(moptions.tabbedUI != options.tabbedUI)
{
parent->MoveFileBrowserToMain();
parent->SetMainCurrent();
if(moptions.tabbedUI)
parent->epanel->hide_all();
else
parent->epanel->show_all();
}
}
void Preferences::switchFontTo(Glib::ustring newFont) {