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/route_time_axis.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/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 63abdc2516..3127f71203 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -172,6 +172,7 @@ RouteTimeAxisView::RouteTimeAxisView (PublicEditor& ed, Session& sess, boost::sh controls_table.attach (*rec_enable_button, 5, 6, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 0, 0); ARDOUR_UI::instance()->tooltips().set_tip(*rec_enable_button, _("Record")); + rec_enable_button->set_sensitive (_session.writable()); } controls_hbox.pack_start(gm.get_level_meter(), false, false); |