13
0

force small screen profile if ARDOUR_NARROW_SCREEN is set in the environment

git-svn-id: svn://localhost/ardour2/branches/3.0@11996 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-17 19:13:04 +00:00
parent 02a1879450
commit a382da4918

View File

@ -3628,7 +3628,7 @@ ARDOUR_UI::TransportControllable::get_value (void) const
void
ARDOUR_UI::setup_profile ()
{
if (gdk_screen_width() < 1200) {
if (gdk_screen_width() < 1200 || getenv ("ARDOUR_NARROW_SCREEN")) {
Profile->set_small_screen ();
}