summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-14 12:55:48 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-14 12:55:48 -0600
commit7cb1219df81e373eb15a3ecc17bca65de4c27526 (patch)
treec99d9da9331a2a01ad886922c24ea39708b2e711 /gtk2_ardour/ardour_ui2.cc
parentf50c839ea82308632a51535594859eae3107a01d (diff)
Re-pack dsp_load_indicator next to feedback_indicator et al.
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc40
1 files changed, 21 insertions, 19 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index ef0c8fffcd..54d2a8416b 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -172,6 +172,27 @@ bool drag_failed (const Glib::RefPtr<Gdk::DragContext>& context, DragResult resu
void
ARDOUR_UI::repack_transport_hbox ()
{
+ if (dsp_load_indicator.get_parent()) {
+ transport_hbox.remove (dsp_load_indicator);
+ }
+ if (UIConfiguration::instance().get_show_dsp_load_info ()) {
+ transport_hbox.pack_start (dsp_load_indicator, false, false);
+ dsp_load_indicator.show();
+ }
+
+ if (disk_space_indicator.get_parent()) {
+ transport_hbox.remove (disk_space_indicator);
+ }
+ if (UIConfiguration::instance().get_show_disk_space_info ()) {
+ transport_hbox.pack_start (disk_space_indicator, false, false);
+ disk_space_indicator.show();
+ }
+
+ if (status_spacer.get_parent()) {
+ transport_hbox.remove (status_spacer);
+ }
+ transport_hbox.pack_start (status_spacer, false, false, 3);
+
if (time_info_box) {
if (time_info_box->get_parent()) {
transport_hbox.remove (*time_info_box);
@@ -190,22 +211,6 @@ ARDOUR_UI::repack_transport_hbox ()
mini_timeline.show();
}
- if (dsp_load_indicator.get_parent()) {
- transport_hbox.remove (dsp_load_indicator);
- }
- if (UIConfiguration::instance().get_show_dsp_load_info ()) {
- transport_hbox.pack_start (dsp_load_indicator, false, false);
- dsp_load_indicator.show();
- }
-
- if (disk_space_indicator.get_parent()) {
- transport_hbox.remove (disk_space_indicator);
- }
- if (UIConfiguration::instance().get_show_disk_space_info ()) {
- transport_hbox.pack_start (disk_space_indicator, false, false);
- disk_space_indicator.show();
- }
-
if (editor_meter) {
if (meter_box.get_parent()) {
transport_hbox.remove (meter_box);
@@ -553,9 +558,6 @@ ARDOUR_UI::setup_transport ()
transport_table.attach (*alert_box, TCOL, 0, 2, SHRINK, EXPAND|FILL, hpadding, 0);
++col;
- transport_table.attach (*(manage (new ArdourVSpacer ())), TCOL, 0, 2 , SHRINK, EXPAND|FILL, 3, 0);
- ++col;
-
/* editor-meter, mini-timeline and selection clock are options in the transport_hbox */
transport_hbox.set_spacing (3);
transport_table.attach (transport_hbox, TCOL, 0, 2, EXPAND|FILL, EXPAND|FILL, hpadding, 0);