Fix all save format options being visible at once immediately after start-up by delaying initialization of the save format panel after the main windows call to Gtk::Widget::show_all.

This commit is contained in:
Adam Reichold
2016-01-12 20:15:35 +01:00
parent 1a9121714a
commit 74a0524bde
4 changed files with 23 additions and 31 deletions

View File

@@ -187,13 +187,18 @@ BatchQueuePanel::BatchQueuePanel (FileCatalog* aFileCatalog)
show_all ();
saveFormatPanel->init (options.saveFormatBatch);
if (batchQueue->loadBatchQueue ()) {
g_idle_add_full (G_PRIORITY_LOW, processLoadedBatchQueueUIThread, batchQueue, NULL);
}
}
void BatchQueuePanel::init (RTWindow *parent)
{
this->parent = parent;
saveFormatPanel->init (options.saveFormatBatch);
}
// it is expected to have a non null forceOrientation value on Preferences update only. In this case, qsize is ingored and computed automatically
void BatchQueuePanel::updateTab (int qsize, int forceOrientation)
{