summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-21 19:41:15 +0100
committerRobin Gareus <robin@gareus.org>2015-01-21 19:41:15 +0100
commit0c8947491ae708a66b51abc21b4e864577957ffe (patch)
treeaea3bc4bd9caaa8affab242c75a00cb1cc1d468c /gtk2_ardour/theme_manager.cc
parentf28288409466cb64eb741bded1d77e75c1533da1 (diff)
initialize theme > gradient sliders.
Diffstat (limited to 'gtk2_ardour/theme_manager.cc')
-rw-r--r--gtk2_ardour/theme_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/theme_manager.cc b/gtk2_ardour/theme_manager.cc
index e1f2314724..dfff1c1f15 100644
--- a/gtk2_ardour/theme_manager.cc
+++ b/gtk2_ardour/theme_manager.cc
@@ -174,6 +174,8 @@ ThemeManager::ThemeManager()
blink_rec_button.set_active (ARDOUR_UI::config()->get_blink_rec_arm());
region_color_button.set_active (ARDOUR_UI::config()->get_color_regions_using_track_color());
show_clipping_button.set_active (ARDOUR_UI::config()->get_show_waveform_clipping());
+ waveform_gradient_depth.set_value(ARDOUR_UI::config()->get_waveform_gradient_depth());
+ timeline_item_gradient_depth.set_value(ARDOUR_UI::config()->get_timeline_item_gradient_depth());
color_dialog.get_ok_button()->signal_clicked().connect (sigc::bind (sigc::mem_fun (color_dialog, &Gtk::Dialog::response), RESPONSE_ACCEPT));
color_dialog.get_cancel_button()->signal_clicked().connect (sigc::bind (sigc::mem_fun (color_dialog, &Gtk::Dialog::response), RESPONSE_CANCEL));