mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
remove extraneous 'r' from rec-enable buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10417 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
06da7c45ce
commit
5b45dc04df
1 changed files with 3 additions and 6 deletions
|
|
@ -173,9 +173,7 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
if (is_track()) {
|
||||
|
||||
/* use icon */
|
||||
|
||||
rec_enable_button->remove ();
|
||||
|
||||
|
||||
switch (track()->mode()) {
|
||||
case ARDOUR::Normal:
|
||||
case ARDOUR::NonLayered:
|
||||
|
|
@ -185,7 +183,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
|
||||
break;
|
||||
}
|
||||
rec_enable_button->show_all ();
|
||||
|
||||
controls_table.attach (*rec_enable_button, 5, 6, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 0, 0);
|
||||
|
||||
|
|
@ -755,9 +752,11 @@ RouteTimeAxisView::set_track_mode (TrackMode mode, bool apply_to_selection)
|
|||
case ARDOUR::NonLayered:
|
||||
case ARDOUR::Normal:
|
||||
rec_enable_button->set_image (::get_icon (X_("record_normal_red")));
|
||||
rec_enable_button->set_text (string());
|
||||
break;
|
||||
case ARDOUR::Destructive:
|
||||
rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
|
||||
rec_enable_button->set_text (string());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -2348,8 +2347,6 @@ RouteTimeAxisView::remove_underlay (StreamView* v)
|
|||
void
|
||||
RouteTimeAxisView::set_button_names ()
|
||||
{
|
||||
rec_enable_button->set_text (_("r"));
|
||||
|
||||
if (_route && _route->solo_safe()) {
|
||||
solo_button->remove ();
|
||||
if (solo_safe_pixbuf == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue