From b3e5169d99cbabf1b8ccb8ee3fecbb2a32d0ef50 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 29 Jun 2012 14:27:11 +0000 Subject: [PATCH] more debugging of the session folder issue git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12965 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/new_session_dialog.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc index e6e8ef11b1..8340a113dd 100644 --- a/gtk2_ardour/new_session_dialog.cc +++ b/gtk2_ardour/new_session_dialog.cc @@ -43,6 +43,12 @@ using namespace PBD; #include "i18n.h" #include "new_session_dialog.h" +void +showmecf (Gtk::FileChooserButton* fcb) +{ + cerr << "current folder changed, now " << fcb->get_current_folder() << endl; +} + NewSessionDialog::NewSessionDialog() : ArdourDialog ("session control") { @@ -83,6 +89,8 @@ NewSessionDialog::NewSessionDialog() m_template = new Gtk::FileChooserButton(); m_create_control_bus = new Gtk::CheckButton(_("Create Monitor Bus")); + m_folder->signal_current_folder_changed().connect (sigc::bind (sigc::ptr_fun (showmecf), m_folder)); + Gtk::Adjustment *m_control_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10)); m_control_bus_channel_count = new Gtk::SpinButton(*m_control_bus_channel_count_adj, 1, 0);