summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-16 22:16:38 +0100
committerRobin Gareus <robin@gareus.org>2015-03-16 23:39:23 +0100
commit5c0e3d4f043534d0144cb99f8e7ea35b752844a9 (patch)
tree8259420335420ca960d161a142cccba9b4ede901 /gtk2_ardour
parentc3d76155a9955de841a207fb68f5daf982fc1dd1 (diff)
always pack the log-LED into the status widget.
not only does this provide consistent look & feel, but now the status-bar can never be empty. Before to this change, a small useless black rectangle remained when all elements were hidden.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui2.cc2
-rw-r--r--gtk2_ardour/ardour_ui_ed.cc4
2 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index 57bcca34da..3459d0373f 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -96,12 +96,10 @@ ARDOUR_UI::setup_windows ()
status_bar_event_box->add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK);
status_bar_label.set_size_request (300, -1);
status_bar_packer->pack_start (*status_bar_event_box, true, true, 6);
- status_bar_packer->pack_start (error_alert_button, false, false);
status_bar_label.show ();
status_bar_event_box->show ();
status_bar_packer->show ();
- error_alert_button.show ();
status_bar_event_box->signal_button_press_event().connect (mem_fun (*this, &ARDOUR_UI::status_bar_button_press));
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc
index 33bbb79a8a..ccd048d69d 100644
--- a/gtk2_ardour/ardour_ui_ed.cc
+++ b/gtk2_ardour/ardour_ui_ed.cc
@@ -515,10 +515,8 @@ ARDOUR_UI::build_menu_bar ()
disk_space = true;
}
-#ifndef TOP_MENUBAR
hbox->pack_end (error_alert_button, false, false, 2);
-#endif
-
+
hbox->pack_end (wall_clock_label, false, false, 2);
hbox->pack_end (disk_space_label, false, false, 4);
hbox->pack_end (cpu_load_label, false, false, 4);