summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2006-05-17 12:07:16 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2006-05-17 12:07:16 +0000
commitb3b383faa5ca4e2a101314612d69b05184edc422 (patch)
tree709e456eb51260ae12b1d646c89e857e6fb997c0 /gtk2_ardour/route_ui.cc
parent1242d9595c198bd5cb351271002b1c910ec7864b (diff)
Remove CannotRecordNoInput signal (allowing recording without input connections), provide visual indication of phase reverse, change e.g. 'gain automation' to 'fader automation', enforce mouse button 1 use in mixer strip, make button labels more consistent in mixer strip, disable io change/record enable when disconnected from jack on mixer strip, remove duplicated signal connections and typo in audio_time_axis.cc.
git-svn-id: svn://localhost/trunk/ardour2@505 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index af32215c51..05f3683175 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -751,7 +751,7 @@ void
RouteUI::name_changed (void *src)
{
ENSURE_GUI_THREAD(bind (mem_fun (*this, &RouteUI::name_changed), src));
-
+
name_label.set_text (_route.name());
}
@@ -786,6 +786,11 @@ RouteUI::toggle_polarity ()
if ((x = polarity_menu_item->get_active()) != _route.phase_invert()) {
_route.set_phase_invert (x, this);
+ if (x) {
+ name_label.set_text (X_("Ø ") + name_label.get_text());
+ } else {
+ name_label.set_text (_route.name());
+ }
}
}
}
@@ -908,4 +913,3 @@ RouteUI::map_frozen ()
}
}
}
-