#include "public_editor.h"
#include "main_clock.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace Gtk;
using namespace Gtkmm2ext;
stop_clocking ();
start_clocking ();
}
+ } else if (p == "use-tooltips") {
+ /* this doesn't really belong here but it has to go somewhere */
+ if (UIConfiguration::instance().get_use_tooltips()) {
+ Gtkmm2ext::enable_tooltips ();
+ } else {
+ Gtkmm2ext::disable_tooltips ();
+ }
} else if (p == "waveform-gradient-depth") {
ArdourCanvas::WaveView::set_global_gradient_depth (UIConfiguration::instance().get_waveform_gradient_depth());
} else if (p == "show-editor-meter") {
} else if (p == "waveform-cache-size") {
/* GUI option has units of megabytes; image cache uses units of bytes */
ArdourCanvas::WaveView::set_image_cache_size (UIConfiguration::instance().get_waveform_cache_size() * 1048576);
+ } else if (p == "use-wm-visibility") {
+ VisibilityTracker::set_use_window_manager_visibility (UIConfiguration::instance().get_use_wm_visibility());
+ } else if (p == "action-table-columns") {
+ const uint32_t cols = UIConfiguration::instance().get_action_table_columns ();
+ for (int i = 0; i < 9; ++i) {
+ const int col = i / 3;
+ if (cols & (1<<col)) {
+ action_script_call_btn[i].show();
+ } else {
+ action_script_call_btn[i].hide();
+ }
+ }
}
}