use new action map API instead of ActionManager::get_action
[ardour.git] / gtk2_ardour / startup.cc
index f332b698549a09b0f45272151b9d0d37aeed0321..b481e434d14de5438438fed8c3b7f94bdd299aa2 100644 (file)
@@ -119,8 +119,6 @@ ArdourStartup::~ArdourStartup ()
 bool
 ArdourStartup::required ()
 {
-       const int current_version = atoi (PROGRAM_VERSION);
-
        if (Glib::file_test (ARDOUR::been_here_before_path (), Glib::FILE_TEST_EXISTS)) {
                return false;
        }
@@ -256,6 +254,9 @@ Please choose whichever one is right for your setup.\n\n\
        set_page_title (mon_vbox, _("Monitoring Choices"));
        set_page_header_image (mon_vbox, icon_pixbuf);
 
+       monitor_via_hardware_button.signal_toggled().connect (sigc::mem_fun (*this, &ArdourStartup::config_changed));
+       monitor_via_ardour_button.signal_toggled().connect (sigc::mem_fun (*this, &ArdourStartup::config_changed));
+
        /* user could just click on "Forward" if default
         * choice is correct.
         */