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
This commit is contained in:
Tim Mayberry 2007-06-27 12:12:39 +00:00
parent f9910c90ea
commit be26fa02ce
2 changed files with 17 additions and 9 deletions

View file

@ -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 {