add options option for layout and make it switch to editor in single mode. Done!

This commit is contained in:
Andrey Skvortsov
2010-10-04 18:13:13 -07:00
parent 60fea52af1
commit 7853327bc7
11 changed files with 269 additions and 10 deletions

View File

@@ -151,14 +151,15 @@ bool FilePanel::imageLoaded( Thumbnail* thm, ProgressConnector<rtengine::Initial
if (pc->returnValue() && thm) {
if (options.tabbedUI)
{
if (options.tabbedUI){
EditorPanel* epanel = Gtk::manage (new EditorPanel ());
parent->addEditorPanel (epanel,Glib::path_get_basename (thm->getFileName()));
epanel->open(thm, pc->returnValue() );
}
else
parent->epanel->open(thm, pc->returnValue() );
else{
parent->SetEditorCurrent();
parent->epanel->open(thm, pc->returnValue() );
}
}else {