diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-26 21:03:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-26 21:03:42 +0000 |
commit | 7ad031503c0e4ea697d2796eea657a802d4a7200 (patch) | |
tree | 0ce0bea1eb2644d3f63412ecea2831d77b38c0ae /gtk2_ardour/ardour_ui2.cc | |
parent | b691ba816f3080d0f8029beac6d0ff4c4c3a1900 (diff) |
hide/rearrange stuff affected by last commit only if Profile->get_small_screen() is true
git-svn-id: svn://localhost/ardour2/branches/3.0@9215 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 203a02c75e..445e81b3a7 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -448,12 +448,16 @@ ARDOUR_UI::setup_transport () VBox* auto_box = manage (new VBox); auto_box->pack_start (auto_play_button, false, false); auto_box->pack_start (auto_return_button, false, false); - // toggle_box->pack_start (*auto_box, false, false); + if (!Profile->get_small_screen()) { + toggle_box->pack_start (*auto_box, false, false); + } VBox* io_box = manage (new VBox); io_box->pack_start (auto_input_button, false, false); io_box->pack_start (click_button, false, false); - //toggle_box->pack_start (*io_box, false, false); + if (!Profile->get_small_screen()) { + toggle_box->pack_start (*io_box, false, false); + } /* desensitize */ @@ -466,7 +470,9 @@ ARDOUR_UI::setup_transport () // toggle_box->pack_start (postroll_clock, false, false); transport_tearoff_hbox.pack_start (*toggle_box, false, false, 4); - transport_tearoff_hbox.pack_start (_editor_transport_box, false, false, 4); + if (Profile->get_small_screen()) { + transport_tearoff_hbox.pack_start (_editor_transport_box, false, false, 4); + } transport_tearoff_hbox.pack_start (alert_box, false, false); if (Profile->get_sae()) { |