[Summary] Added channel name hints that will show the full name of the channel

This commit is contained in:
Greg Zharun 2014-06-24 16:44:19 +03:00
parent 301b9b13bf
commit 520d883df1
2 changed files with 3 additions and 0 deletions

View file

@ -75,6 +75,7 @@ void DeviceConnectionControl::init(const std::string& name, bool active, uint16_
if (_name_label != NULL) {
_name_label->set_text (name);
_name_label->set_tooltip_text(name);
}
if (_number_label != NULL) {
@ -121,6 +122,7 @@ DeviceConnectionControl::set_track_name (const std::string& new_track_name)
{
if (_track_name_label != NULL ) {
_track_name_label->set_text (new_track_name);
_track_name_label->set_tooltip_text(new_track_name);
if (new_track_name.empty() ) {
_track_name_label->get_parent()->hide();
} else {

View file

@ -73,6 +73,7 @@ void MidiDeviceConnectionControl::init(const std::string& name, bool capture_act
}
_name_label->set_text (name);
_name_label->set_tooltip_text(name);
set_capture_active(capture_active);
set_playback_active(playback_active);