Statusbar: link session property dialog for format & timecode

This commit is contained in:
Robin Gareus 2020-03-30 01:09:00 +02:00
parent 65e34719bb
commit b49764edf5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 44 additions and 5 deletions

View file

@ -1365,7 +1365,7 @@ ARDOUR_UI::format_disk_space_label (float remain_sec)
std::string label = string_compose (X_("<span weight=\"ultralight\">%1</span>: "), _("Rec"));
if (remain_sec > 86400) {
disk_space_label.set_markup (_(">24h"));
disk_space_label.set_markup (label + _(">24h"));
} else if (remain_sec > 32400 /* 9 hours */) {
snprintf (buf, sizeof (buf), "%.0f", remain_sec / 3600.f);
disk_space_label.set_markup (label + buf + S_("hours|h"));