summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-10-30 23:45:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-10-30 23:45:20 +0000
commit040d7fec2c23216be7533b727cde4407fb2f8036 (patch)
tree1e96338f73e9e526b928b30f6dfdda4bdb95bde6 /gtk2_ardour/ardour_ui.cc
parent2fab8c2737c3d384cba668a81e7d439730da8232 (diff)
remove cruft from ArdourUI; improve keyboard icon(s); shrink other plugin GUI buttons; close all dialogs when quitting so that we actually quit
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4036 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc31
1 files changed, 1 insertions, 30 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index e97e563ced..09ec2e7e88 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -747,6 +747,7 @@ If you still wish to quit, please use the\n\n\
session->set_deletion_in_progress ();
}
+ ArdourDialog::close_all_dialogs ();
engine->stop (true);
save_ardour_state ();
quit ();
@@ -1918,14 +1919,6 @@ ARDOUR_UI::transport_rec_enable_blink (bool onoff)
}
}
-gint
-ARDOUR_UI::hide_and_quit (GdkEventAny *ev, ArdourDialog *window)
-{
- window->hide();
- Gtk::Main::quit ();
- return TRUE;
-}
-
void
ARDOUR_UI::save_template ()
@@ -2162,28 +2155,6 @@ ARDOUR_UI::loading_message (const std::string& msg)
splash->message (msg);
flush_pending ();
}
-
-void
-ARDOUR_UI::idle_load (const Glib::ustring& path)
-{
- if (session) {
- if (Glib::file_test (path, Glib::FILE_TEST_IS_DIR)) {
- /* /path/to/foo => /path/to/foo, foo */
- load_session (path, basename_nosuffix (path));
- } else {
- /* /path/to/foo/foo.ardour => /path/to/foo, foo */
- load_session (Glib::path_get_dirname (path), basename_nosuffix (path));
- }
- } else {
- ARDOUR_COMMAND_LINE::session_name = path;
- if (new_session_dialog) {
- /* make it break out of Dialog::run() and
- start again.
- */
- new_session_dialog->response (1);
- }
- }
-}
bool
ARDOUR_UI::get_session_parameters (bool backend_audio_is_running, bool should_be_new)