diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-17 19:13:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-17 19:13:04 +0000 |
commit | a382da49183c14cb5ab5e3d89c238e7d86de6382 (patch) | |
tree | ef7fa9b9e07eafd7d4ef441103305c88a4a6ecbf /gtk2_ardour | |
parent | 02a1879450e5cbee96890097bac79d13d5e5270a (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index d9142b8b1a..9d5b5d950f 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -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 (); } |