summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-03-12 17:45:31 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-03-12 17:45:42 -0500
commitb58c1df07ddd6e2c8758598c62be39b4b8d8ec5c (patch)
tree54bd3ce75c21b66b03515c7c798ec6c6cd877158 /gtk2_ardour/main.cc
parent9a05a0fbfbc54a68f658b800c10f1a4ebc461f8f (diff)
check for old configuration files and copy if user requests it.
A restart is required. There is a circular dependency between the config files and the GUI, and this restart breaks it
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index e981df7d81..062174a442 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -228,23 +228,6 @@ static void console_madness_end () {}
static void command_line_parse_error (int *argc, char** argv[]) {}
#endif
-static bool
-ask_about_configuration_copy (string const & old_dir, string const & new_dir, int version)
-{
- MessageDialog msg (string_compose (_("%1 %2.x has discovered configuration files from %1 %3.x.\n\n"
- "Would you like to copy them before starting to use the program?\n\n"
- "\n"
- "(Note that not all files will be copied, since some are no longer relevant)"),
- PROGRAM_NAME, PROGRAM_VERSION, version), true);
-
- msg.add_button (Gtk::Stock::NO, Gtk::RESPONSE_NO);
- msg.add_button (Gtk::Stock::YES, Gtk::RESPONSE_YES);
- msg.show_all ();
-
- return (msg.run() == Gtk::RESPONSE_YES);
-}
-
-
#if (defined(COMPILER_MSVC) && defined(NDEBUG) && !defined(RDC_BUILD))
/*
* Release build with MSVC uses ardour_main()