diff options
author | Doug McLain <doug@nostar.net> | 2007-07-05 05:33:40 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2007-07-05 05:33:40 +0000 |
commit | 291a186cba343ed705c60d15fa7db0b21eb8a1fd (patch) | |
tree | 683a299b237164b5a67d2d79e9b05dc2251b8f46 /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | 0518b045c62ef764eced6fff0b64d4f71832a7b0 (diff) |
New theme manager from trunk, backported to 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2110 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index 8a50697e85..fcd75154b4 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" @@ -324,17 +324,17 @@ ARDOUR_UI::toggle_location_window () } void -ARDOUR_UI::toggle_color_manager () +ARDOUR_UI::toggle_theme_manager () { - RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleColorManager")); + RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleThemeManager")); if (act) { RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::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 (); } } } |