make the icon set selector actually do something

This commit is contained in:
Paul Davis 2014-06-10 14:39:08 -04:00
parent 324ef3b085
commit c56d309bd7
4 changed files with 19 additions and 0 deletions

View file

@ -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"
@ -348,6 +349,13 @@ ThemeManager::on_timeline_item_gradient_depth_change ()
ARDOUR_UI::config()->set_dirty ();
}
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()
{