From e1f57ba8f086aa3629f09ca9363a9e44b01796f4 Mon Sep 17 00:00:00 2001 From: Doug McLain Date: Fri, 25 May 2007 20:29:12 +0000 Subject: New theme manager, with option to select between dark and light theme. Cleanups to ardours handling of the ui rc file during startup, and changed the monitoring options to be global instead of session specific. More details about the theme stuff comign to ardour-dev git-svn-id: svn://localhost/ardour2/trunk@1917 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui_dialogs.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour/ardour_ui_dialogs.cc') diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index ff2a506558..532b7ce76b 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -34,7 +34,7 @@ #include "public_editor.h" #include "route_params_ui.h" #include "sfdb_ui.h" -#include "color_manager.h" +#include "theme_manager.h" #include "i18n.h" @@ -325,17 +325,17 @@ ARDOUR_UI::toggle_location_window () } void -ARDOUR_UI::toggle_color_manager () +ARDOUR_UI::toggle_theme_manager () { - RefPtr act = ActionManager::get_action (X_("Common"), X_("ToggleColorManager")); + RefPtr act = ActionManager::get_action (X_("Common"), X_("ToggleThemeManager")); if (act) { RefPtr tact = RefPtr::cast_dynamic(act); if (tact->get_active()) { - color_manager->show_all (); - color_manager->present (); + theme_manager->show_all (); + theme_manager->present (); } else { - color_manager->hide (); + theme_manager->hide (); } } } -- cgit v1.2.3