summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-10 14:39:08 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-10 14:39:28 -0400
commitc56d309bd779c5a10be44c1ced6424c1b518c22f (patch)
tree6a4bd3772afbfdec7037a74297cdf1193c914355 /gtk2_ardour/theme_manager.cc
parent324ef3b08558155b560b14397c5eb6e003f70b9f (diff)
make the icon set selector actually do something
Diffstat (limited to 'gtk2_ardour/theme_manager.cc')
-rw-r--r--gtk2_ardour/theme_manager.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/theme_manager.cc b/gtk2_ardour/theme_manager.cc
index 8c9a039453..454a5da67c 100644
--- a/gtk2_ardour/theme_manager.cc
+++ b/gtk2_ardour/theme_manager.cc
@@ -167,6 +167,7 @@ ThemeManager::ThemeManager()
waveform_gradient_depth.signal_value_changed().connect (sigc::mem_fun (*this, &ThemeManager::on_waveform_gradient_depth_change));
timeline_item_gradient_depth.signal_value_changed().connect (sigc::mem_fun (*this, &ThemeManager::on_timeline_item_gradient_depth_change));
all_dialogs.signal_toggled().connect (sigc::mem_fun (*this, &ThemeManager::on_all_dialogs_toggled));
+ icon_set_dropdown.signal_changed().connect (sigc::mem_fun (*this, &ThemeManager::on_icon_set_changed));
Gtkmm2ext::UI::instance()->set_tip (all_dialogs,
string_compose (_("Mark all floating windows to be type \"Dialog\" rather than using \"Utility\" for some.\n"
@@ -349,6 +350,13 @@ ThemeManager::on_timeline_item_gradient_depth_change ()
}
void
+ThemeManager::on_icon_set_changed ()
+{
+ string new_set = icon_set_dropdown.get_active_text();
+ ARDOUR_UI::config()->set_icon_set (new_set);
+}
+
+void
ThemeManager::on_dark_theme_button_toggled()
{
if (!dark_button.get_active()) return;