diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-06-27 12:12:39 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-06-27 12:12:39 +0000 |
commit | be26fa02ce6e742de057c9fd2f9e6502cb57cbdc (patch) | |
tree | f75ff9dfce1b118157acc140a59c91665921b7df /gtk2_ardour/theme_manager.h | |
parent | f9910c90ead69765d277a3711efda0673e3d3f8a (diff) |
Use signal_toggled instead of signal_clicked in ThemeManager so a theme is only "loaded" once.
git-svn-id: svn://localhost/ardour2/trunk@2060 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/theme_manager.h')
-rw-r--r-- | gtk2_ardour/theme_manager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/theme_manager.h b/gtk2_ardour/theme_manager.h index a8a70b6c9a..cba3a9fd55 100644 --- a/gtk2_ardour/theme_manager.h +++ b/gtk2_ardour/theme_manager.h @@ -37,8 +37,10 @@ class ThemeManager : public ArdourDialog ~ThemeManager(); int save (std::string path); - void load_rc (int which); void setup_theme (); + + void on_dark_theme_button_toggled (); + void on_light_theme_button_toggled (); private: struct ColorDisplayModelColumns : public Gtk::TreeModel::ColumnRecord { |