Remove references to connection manager from the build.
[ardour.git] / gtk2_ardour / new_session_dialog.cc
index 5e5781ff7d5be5727c0fa4d50b9e9d351c18ee53..c28277b8ab21f810859814f4b4fb9f3301f13d83 100644 (file)
@@ -85,17 +85,17 @@ NewSessionDialog::NewSessionDialog()
        m_template = new Gtk::FileChooserButton();
        m_create_control_bus = new Gtk::CheckButton(_("Create monitor bus"));
        
-       Gtk::Adjustment *m_control_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 10));
+       Gtk::Adjustment *m_control_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 0));
        m_control_bus_channel_count = new Gtk::SpinButton(*m_control_bus_channel_count_adj, 1, 0);
        
-       Gtk::Adjustment *m_master_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 10));
+       Gtk::Adjustment *m_master_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 0));
        m_master_bus_channel_count = new Gtk::SpinButton(*m_master_bus_channel_count_adj, 1, 0);
        m_create_master_bus = new Gtk::CheckButton(_("Create master bus"));
        advanced_table = new Gtk::Table(2, 2, true);
        m_connect_inputs = new Gtk::CheckButton(_("Automatically connect to physical inputs"));
        m_limit_input_ports = new Gtk::CheckButton(_("Use only"));
        
-       Gtk::Adjustment *m_input_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 10));
+       Gtk::Adjustment *m_input_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 0));
        m_input_limit_count = new Gtk::SpinButton(*m_input_limit_count_adj, 1, 0);
        input_port_limit_hbox = new Gtk::HBox(false, 0);
        input_port_vbox = new Gtk::VBox(false, 0);
@@ -108,7 +108,7 @@ NewSessionDialog::NewSessionDialog()
        m_connect_outputs = new Gtk::CheckButton(_("Automatically connect outputs"));
        m_limit_output_ports = new Gtk::CheckButton(_("Use only"));
        
-       Gtk::Adjustment *m_output_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 10));
+       Gtk::Adjustment *m_output_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 0));
        m_output_limit_count = new Gtk::SpinButton(*m_output_limit_count_adj, 1, 0);
        output_port_limit_hbox = new Gtk::HBox(false, 0);
        output_port_vbox = new Gtk::VBox(false, 0);
@@ -569,6 +569,7 @@ NewSessionDialog::set_session_folder(const Glib::ustring& dir)
        if ((res = canonicalize_file_name (realdir.c_str())) != 0) {
                cerr << "canonical, use " << res << endl;
                m_folder->set_current_folder (res);
+               engine_page_session_folder = res;
                free (res);
        }