diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-26 17:42:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-26 17:42:52 +0000 |
commit | 49a9fa20a56c6f5607e7bcf209985a67972c3f31 (patch) | |
tree | dec50e6921432e2e12457c491c978625414c3f3b /gtk2_ardour/ardour_ui.cc | |
parent | 9bca2cd6f869c7651418b21d0523ed6ac19390cc (diff) |
open un-writable sessions without complaining, and desensitize all/most actions that rely on writability (to be forward ported to 3.0 once tested and confirmed)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5688 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 0accfe403d..4e16c40ab1 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2483,16 +2483,6 @@ ARDOUR_UI::load_session (const Glib::ustring& path, const Glib::ustring& snap_na goto out; } - /* if it already exists, we must have write access */ - - if (Glib::file_test (path.c_str(), Glib::FILE_TEST_EXISTS) && ::access (path.c_str(), W_OK)) { - MessageDialog msg (*editor, _("You do not have write access to this session.\n" - "This prevents the session from being loaded.")); - pop_back_splash (); - msg.run (); - goto out; - } - loading_message (_("Please wait while Ardour loads your session")); try { |