#include "ardour/session_directory.h"
#include "gtkmm2ext/utils.h"
#include "ardour/template_utils.h"
#include "ardour/session_directory.h"
#include "gtkmm2ext/utils.h"
#include "ardour/template_utils.h"
path_entry.set_width_chars(38);
path_entry.set_text("/usr/bin/harvid");
docroot_entry.set_width_chars(38);
path_entry.set_width_chars(38);
path_entry.set_text("/usr/bin/harvid");
docroot_entry.set_width_chars(38);
if (docroot_entry.get_text().empty()) {
std::string docroot = Glib::path_get_dirname(_session->session_directory().root_path());
if ((docroot.empty() || docroot.at(docroot.length()-1) != '/')) { docroot += "/"; }
if (docroot_entry.get_text().empty()) {
std::string docroot = Glib::path_get_dirname(_session->session_directory().root_path());
if ((docroot.empty() || docroot.at(docroot.length()-1) != '/')) { docroot += "/"; }
if (Config->get_video_advanced_setup()){
vbox->pack_start (*docroot_hbox, false, false);
} else {
if (Config->get_video_advanced_setup()){
vbox->pack_start (*docroot_hbox, false, false);
} else {
listenport_spinner.set_sensitive(false);
}
vbox->pack_start (*options_box, false, true);
listenport_spinner.set_sensitive(false);
}
vbox->pack_start (*options_box, false, true);