Removed "Preferences > General > Show processing profile selector". Issue 2571

This commit is contained in:
DrSlony
2015-05-20 20:51:35 +02:00
parent 2111271e8f
commit 80354c4188
37 changed files with 4 additions and 74 deletions

View File

@@ -170,7 +170,7 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
vboxright->set_border_width (2);
if (options.showProfileSelector) vboxright->pack_start (*ppframe, Gtk::PACK_SHRINK, 2);
vboxright->pack_start (*ppframe, Gtk::PACK_SHRINK, 2);
// main notebook
vboxright->pack_start (*tpc->toolPanelNotebook);
@@ -435,7 +435,7 @@ void EditorPanel::setAspect () {
info->set_active (options.showInfo);
}
void EditorPanel::on_realize () {
void EditorPanel::on_realize () {
realized = true;
Gtk::VBox::on_realize ();
// This line is needed to avoid autoexpansion of the window :-/
@@ -1597,19 +1597,6 @@ void EditorPanel::updateTabsUsesIcons (bool useIcons) {
tpc->updateTabsUsesIcons (useIcons);
}
void EditorPanel::updateProfileSelector (bool showMe) {
if (showMe) {
// add the profile panel
vboxright->pack_start (*ppframe, Gtk::PACK_SHRINK, 2);
vboxright->reorder_child(*ppframe, 0 + (options.histogramPosition==2?1:0));
ppframe->show_all();
}
else {
// remove (but don't delete) the profile panel
removeIfThere(vboxright, ppframe, false);
}
}
void EditorPanel::updateHistogramPosition (int oldPosition, int newPosition) {
switch (newPosition) {