- if (_route) {
- string title;
- title += _route->name();
-// title += ": ";
-
-// if (_redirect && (_current_view == PLUGIN_CONFIG_VIEW || _current_view == SEND_CONFIG_VIEW)) {
-// title += _redirect->name();
-// }
-// else if (_current_view == INPUT_CONFIG_VIEW) {
-// title += _("INPUT");
-// }
-// else if (_current_view == OUTPUT_CONFIG_VIEW) {
-// title += _("OUTPUT");
-// }
+ WindowTitle title(Glib::get_application_name());
+ title += _("Track/Bus Inspector");
+
+ if (_route) {
+
+ // title += ": ";
+
+ // if (_redirect && (_current_view == PLUGIN_CONFIG_VIEW || _current_view == SEND_CONFIG_VIEW)) {
+ // title += _redirect->name();
+ // }
+ // else if (_current_view == INPUT_CONFIG_VIEW) {
+ // title += _("INPUT");
+ // }
+ // else if (_current_view == OUTPUT_CONFIG_VIEW) {
+ // title += _("OUTPUT");
+ // }
+
+ title_label.set_text(_route->name());