summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-30 21:07:43 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-30 21:07:43 +0000
commitd4030cd32a84ea9bbecc0594f4234e482a1c0bb0 (patch)
treec1dde5444da2989a27f8334154a30dbc7029bd8f /gtk2_ardour/mixer_strip.cc
parent6a5a5b0340c71eeaa09a9cb2e1b676f52c58f89b (diff)
tweak spacings in the mixer strip, tweak tooltip text for input and output buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10845 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 0d40d6fadd..a77cc87d8b 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -219,7 +219,7 @@ MixerStrip::init ()
rec_solo_table.show ();
button_table.set_homogeneous (false);
- button_table.set_spacings (0);
+ button_table.set_spacings (2);
if (solo_isolated_led) {
button_size_group->add_widget (*solo_isolated_led);
@@ -244,7 +244,7 @@ MixerStrip::init ()
middle_button_table.set_homogeneous (true);
middle_button_table.set_spacings (2);
- bottom_button_table.set_col_spacings (0);
+ bottom_button_table.set_spacings (2);
bottom_button_table.set_homogeneous (true);
bottom_button_table.attach (group_button, 0, 1, 0, 1);
@@ -283,7 +283,7 @@ MixerStrip::init ()
global_vpacker.pack_start (middle_button_table, Gtk::PACK_SHRINK, 2);
global_vpacker.pack_start (gpm, Gtk::PACK_SHRINK);
global_vpacker.pack_start (bottom_button_table, Gtk::PACK_SHRINK);
- global_vpacker.pack_start (output_button, Gtk::PACK_SHRINK);
+ global_vpacker.pack_start (output_button, Gtk::PACK_SHRINK, 2);
global_vpacker.pack_start (_comment_button, Gtk::PACK_SHRINK);
global_frame.add (global_vpacker);
@@ -1070,14 +1070,15 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt
ostringstream tooltip;
char * tooltip_cstr;
- tooltip << route->name();
-
if (for_input) {
io_count = route->n_inputs().n_total();
+ tooltip << string_compose (_("<b>INPUT</b> to %1"), route->name());
} else {
io_count = route->n_outputs().n_total();
+ tooltip << string_compose (_("<b>OUTPUT</b> from %1"), route->name());
}
+
for (io_index = 0; io_index < io_count; ++io_index) {
if (for_input) {
port = route->input()->nth (io_index);