From 2c7cb9065f6303c64baf4eb5dbb64db56a587d40 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 8 May 2017 12:37:17 +0200 Subject: Limit clock displays to 30days (720hours) by default. This prevents various edge-cases of selection-clocks (eg. unbound range selection after start-range; and makes it near impossible to roll-over 2^63 using GUI operations) --- gtk2_ardour/ui_config_vars.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/ui_config_vars.h') diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h index ae94452c96..1d2e5a1bb0 100644 --- a/gtk2_ardour/ui_config_vars.h +++ b/gtk2_ardour/ui_config_vars.h @@ -60,6 +60,7 @@ UI_CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false) UI_CONFIG_VARIABLE (bool, show_name_highlight, "show-name-highlight", false) UI_CONFIG_VARIABLE (bool, primary_clock_delta_edit_cursor, "primary-clock-delta-edit-cursor", false) UI_CONFIG_VARIABLE (bool, secondary_clock_delta_edit_cursor, "secondary-clock-delta-edit-cursor", false) +UI_CONFIG_VARIABLE (uint64_t, clock_display_limit, "clock-display-limit", 2592000) /* seconds; default 30days (720h), 0 = unlimited */ UI_CONFIG_VARIABLE (bool, show_track_meters, "show-track-meters", true) UI_CONFIG_VARIABLE (bool, editor_stereo_only_meters, "editor-stereo-only-meters", false) UI_CONFIG_VARIABLE (bool, follow_edits, "follow-edits", false) -- cgit v1.2.3