tweak spacings in the mixer strip, tweak tooltip text for input and output buttons
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Nov 2011 21:07:43 +0000 (21:07 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Nov 2011 21:07:43 +0000 (21:07 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10845 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/mixer_strip.cc
gtk2_ardour/route_ui.cc

index 0d40d6fadd80d020650fb17c69a84c57960f1501..a77cc87d8b5e56214c6487d8ac41f0698f802673 100644 (file)
@@ -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);
index e11bf91259fbf1808066d091b096024029fe8119..0c4ceab4c33bc19ec084dcd91b010130e54a61de 100644 (file)
@@ -1801,6 +1801,7 @@ RouteUI::setup_invert_buttons ()
                _invert_button_box.pack_start (*b);
        }
 
+       _invert_button_box.set_spacing (1);
        _invert_button_box.show_all ();
 }