diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-17 00:40:32 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-17 00:40:58 +0200 |
commit | 23a384f8ae508bfb301495ce456bcb08ad2dcb9f (patch) | |
tree | f8b2bff66393131daf63bbd34b49cfbe673a94d9 /gtk2_ardour/about.cc | |
parent | 96cc1dbe80f0378ca010c1c5ac37913958193360 (diff) |
fix #6588. use ardour-codename only for Ardour.
Diffstat (limited to 'gtk2_ardour/about.cc')
-rw-r--r-- | gtk2_ardour/about.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index a1485e5c94..c80f3cd973 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -27,6 +27,7 @@ #include "pbd/error.h" #include "pbd/file_utils.h" +#include "ardour/profile.h" #include "ardour/revision.h" #include "ardour/filesystem_paths.h" @@ -601,6 +602,11 @@ About::About () #else const std::string cpu_arch = _("32bit"); // ARM, ALPHA,.. #endif + std::string codename = CODENAME; + if (ARDOUR::Profile->get_mixbus() || ARDOUR::Profile->get_trx()) { + codename = ""; + } + set_translator_credits (t); set_copyright (_("Copyright (C) 1999-2015 Paul Davis\n")); set_license (gpl); @@ -608,7 +614,8 @@ About::About () set_website (X_("http://ardour.org/")); set_website_label (_("http://ardour.org/")); set_version ((string_compose(_("%1%2\n(built from revision %3)\n%4"), - VERSIONSTRING, CODENAME, + VERSIONSTRING, + codename, revision, cpu_arch))); Gtk::Button* config_button = manage (new Button (_("Config"))); |