summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-03-10 02:25:25 +1100
committernick_m <mainsbridge@gmail.com>2015-03-10 02:25:25 +1100
commit44d46529959e5fbdfa5e2d13717812cf592c5a6b (patch)
treea6df04c58c16560c6e6cfe80243d609d9e24ef13 /gtk2_ardour/theme_manager.h
parent2d6e48fb0b7e1ea801ba4f5dc561ebb0b92f7645 (diff)
Introduce theme preference "transients follow front" which, when enabled,
sets transient windows to be transients for the front window when switching between the editor and mixer. This is the current behavior on non-osx builds. When disabled, there is no reparenting of transient windows. This is the current behavior on osx. This preference defaults to off. Also fix "all windows are dialogs" checkbox being out of sync with the ui state.
Diffstat (limited to 'gtk2_ardour/theme_manager.h')
-rw-r--r--gtk2_ardour/theme_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/theme_manager.h b/gtk2_ardour/theme_manager.h
index 6a5f5db79b..20a73f0d4d 100644
--- a/gtk2_ardour/theme_manager.h
+++ b/gtk2_ardour/theme_manager.h
@@ -59,6 +59,7 @@ class ThemeManager : public Gtk::VBox
void on_waveform_gradient_depth_change ();
void on_timeline_item_gradient_depth_change ();
void on_all_dialogs_toggled ();
+ void on_transients_follow_front_toggled ();
void on_icon_set_changed ();
private:
@@ -90,6 +91,7 @@ class ThemeManager : public Gtk::VBox
Gtk::HScale timeline_item_gradient_depth;
Gtk::Label timeline_item_gradient_depth_label;
Gtk::CheckButton all_dialogs;
+ Gtk::CheckButton transients_follow_front;
Gtk::CheckButton gradient_waveforms;
Gtk::Label icon_set_label;
Gtk::ComboBoxText icon_set_dropdown;