PackageDispatcher *packages = new PackageDispatcher;
// Load EDL
- TransportCommand *command = new TransportCommand;
+ TransportCommand *command = new TransportCommand(preferences);
FileXML *file = new FileXML;
file->read_from_file(job->edl_path);
else {
BC_Trace::disable_locks();
}
-
+// In batch mode there is no mwindow, so init_plugins is called with
+// mwindow* = NULL.
MWindow::init_plugins(0, preferences);
+ MWindow::init_ladspa_plugins(0, preferences);
char font_path[BCTEXTLEN];
strcpy(font_path, preferences->plugin_dir);
strcat(font_path, "/" FONT_SEARCHPATH);
this->mwindow = mwindow;
this->thread = thread;
use_renderfarm = 0;
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Batch Rendering");
}
BatchRenderGUI::~BatchRenderGUI()
int BatchRenderSaveList::keypress_event() {
if( get_keypress() == 's' ||
get_keypress() == 'S' ) return handle_event();
- return 0;
+ return context_help_check_and_show();
}
int BatchRenderLoadList::keypress_event() {
if( get_keypress() == 'o' ||
get_keypress() == 'O' ) return handle_event();
- return 0;
+ return context_help_check_and_show();
}
BatchRenderCurrentEDL::BatchRenderCurrentEDL(BatchRenderThread *thread,
thread->gui->set_done(1);
return 1;
}
- return 0;
+ return context_help_check_and_show();
}
//new help button
: BC_GenericButton(x, y, _("?"))
{
this->thread = thread;
- set_tooltip(_("Open quick start guide"));
+ set_tooltip(_("Open quick start guide in default browser"));
}
int BatchRenderHelp::handle_event()
{
- system("$CIN_BROWSER file://$CIN_DAT/doc/help_br_index.html");
+ system("xdg-open file://$CIN_DAT/doc/help_br_index.html");
return 0;
}