diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-26 21:01:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-26 21:01:14 +0000 |
commit | 51ab5ccabf432540ca935065f6c6f40a96f42dad (patch) | |
tree | a5f062738bcedc33cd55b176168d532e4cc6d189 /gtk2_ardour/route_time_axis.cc | |
parent | ae3eb6e3f4f270a03ff297d1bbe7cd3f3a2159a9 (diff) |
new ArdourButton class, to start to provide more control over how our buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user
git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 6e409c05c2..736476e49b 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -2350,8 +2350,16 @@ RouteTimeAxisView::set_button_names () rec_enable_button_label.set_text (_("r")); if (_route && _route->solo_safe()) { - solo_button_label.set_text (X_("!")); + solo_button->remove (); + if (solo_safe_image == 0) { + solo_safe_image = new Gtk::Image (::get_icon("solo-safe-enabled")); + solo_safe_image->show (); + } + solo_button->add (*solo_safe_image); } else { + solo_button->remove (); + solo_button->add (solo_button_label); + solo_button_label.show (); if (Config->get_solo_control_is_listen_control()) { switch (Config->get_listen_position()) { case AfterFaderListen: |