summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-01 18:12:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-01 18:12:19 +0000
commit0aa9646cffa4d6e3c380ae56f21270087aa7ffba (patch)
treeee56927ae64cda86eeea74b5fe19667c443bdca2
parent7593703dcda546dfecb86efdd5e6995312021d0c (diff)
the debug continues onward further
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12975 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/new_session_dialog.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc
index 7cb1aa2e05..f7b42590a4 100644
--- a/gtk2_ardour/new_session_dialog.cc
+++ b/gtk2_ardour/new_session_dialog.cc
@@ -50,6 +50,13 @@ showmecf (Gtk::FileChooserButton* fcb)
<< " and the filename is " << fcb->get_filename() << endl;
}
+void
+showmefs (Gtk::FileChooserButton* fcb)
+{
+ cerr << fcb << " file set, now " << fcb->get_current_folder()
+ << " and the filename is " << fcb->get_filename() << endl;
+}
+
NewSessionDialog::NewSessionDialog()
: ArdourDialog ("session control")
{
@@ -91,6 +98,7 @@ NewSessionDialog::NewSessionDialog()
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));
+ m_folder->signal_file_set().connect (sigc::bind (sigc::ptr_fun (showmefs), 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);