[Ardour-Dev] New session patch for 3.0

Carl Hetherington lists at carlh.net
Sat Apr 25 14:46:30 PDT 2009


Hi

I need this patch to be able to create a new session with 3.0...

diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc
index 876f96b..38aa17e 100644
--- a/gtk2_ardour/startup.cc
+++ b/gtk2_ardour/startup.cc
@@ -189,7 +189,7 @@ Glib::ustring
  ArdourStartup::session_folder ()
  {
         if (ic_new_session_button.get_active()) {
-               return new_folder_chooser.get_current_folder();
+               return Glib::build_filename (new_folder_chooser.get_current_folder(), new_name_entry.get_text());
         } else {
                 TreeIter iter = recent_session_display.get_selection()->get_selected();

I would apply it myself but i've not been around for a while and I'm not 
sure if this is a work in progress...

Cheers

Carl



More information about the Ardour-Dev mailing list