diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-27 20:55:06 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-27 20:55:06 -0400 |
commit | 1c2de76991fea2859cbca00e472a66704d2ef292 (patch) | |
tree | beff9f3fc6d559f3678123cd01adf68985c914e3 /gtk2_ardour | |
parent | 5eaafaa3af5e2ab0cbcf4e4d947351fd133e381f (diff) |
give those who insist on seeing the mixer window and/or editor mixer on stupidly small screens the chance to do so
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index db9e420206..2ad4cd3c92 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -335,7 +335,7 @@ ARDOUR_UI::goto_mixer_window () screen = Gdk::Screen::get_default(); } - if (screen && screen->get_height() < 700) { + if (g_getenv ("ARDOUR_LOVES_STUPID_TINY_SCREENS") == 0 && screen && screen->get_height() < 700) { Gtk::MessageDialog msg (_("This screen is not tall enough to display the mixer window")); msg.run (); return; diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index f63e396ba7..37654913eb 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -86,7 +86,7 @@ Editor::show_editor_mixer (bool yn) screen = Gdk::Screen::get_default(); } - if (screen && screen->get_height() < 700) { + if (g_getenv ("ARDOUR_LOVES_STUPID_TINY_SCREENS") == 0 && screen && screen->get_height() < 700) { Gtk::MessageDialog msg (_("This screen is not tall enough to display the editor mixer")); msg.run (); return; |