diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-19 17:33:54 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-19 17:33:54 +0100 |
commit | 93cfcd5abf3f5e64d02a82b7821ef1d8ad7a9cea (patch) | |
tree | 875ef5a99472efd4727e75493ed6f2ddb65df545 | |
parent | 456178877708034256cb37a7fac3e8e1e156b382 (diff) |
indicate debug builds in About > Config and shorten the message to fit
-rw-r--r-- | gtk2_ardour/about.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index 09781f185d..ca52199df9 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -613,16 +613,22 @@ About::About () codename = ""; } +#ifndef NDEBUG + const std::string suffix = _(" - debug"); +#else + const std::string suffix = ""; +#endif + set_translator_credits (t); set_copyright (_("Copyright (C) 1999-2015 Paul Davis\n")); set_license (gpl); set_name (X_("Ardour")); 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"), + set_version ((string_compose(_("%1%2\n(rev %3)\n%4%5"), VERSIONSTRING, codename, - revision, cpu_arch))); + revision, cpu_arch, suffix))); Gtk::Button* config_button = manage (new Button (_("Config"))); |