diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-07-26 22:18:55 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-07-26 22:18:55 +0000 |
commit | 690e04ed42c7f4f29feb53f54c759dbb7c64884c (patch) | |
tree | 358af297440e7d02897481650dcbea02fe930600 /libs | |
parent | f8f84973309fd44de4b693f3fe85551395024c10 (diff) |
Minor updates for PathList and OptionEditor.
git-svn-id: svn://localhost/ardour2/trunk@694 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/pathlist.h | 2 | ||||
-rw-r--r-- | libs/gtkmm2ext/pathlist.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/pathlist.h b/libs/gtkmm2ext/gtkmm2ext/pathlist.h index 7b86e016f7..f4a5973d5a 100644 --- a/libs/gtkmm2ext/gtkmm2ext/pathlist.h +++ b/libs/gtkmm2ext/gtkmm2ext/pathlist.h @@ -36,7 +36,7 @@ class PathList : public Gtk::VBox std::vector<std::string> get_paths (); void set_paths (std::vector<std::string> paths); - sigc::signal<void> paths_updated; + sigc::signal<void> PathsUpdated; protected: Gtk::Button add_btn; diff --git a/libs/gtkmm2ext/pathlist.cc b/libs/gtkmm2ext/pathlist.cc index 500cb8c23e..7b3448ed5f 100644 --- a/libs/gtkmm2ext/pathlist.cc +++ b/libs/gtkmm2ext/pathlist.cc @@ -72,7 +72,7 @@ PathList::get_paths () void PathList::set_paths (vector<string> paths) { - _store.clear(); + _store->clear(); for (vector<string>::iterator i = paths.begin(); i != paths.end(); ++i) { Gtk::ListStore::iterator iter = _store->append(); @@ -99,7 +99,7 @@ PathList::add_btn_clicked () Gtk::ListStore::Row row = *iter; row[path_columns.paths] = pathname; - paths_updated (); // EMIT_SIGNAL + PathsUpdated (); // EMIT_SIGNAL } } } @@ -110,7 +110,7 @@ PathList::subtract_btn_clicked () Gtk::ListStore::iterator iter = _view.get_selection()->get_selected(); _store->erase (iter); - paths_updated (); // EMIT_SIGNAL + PathsUpdated (); // EMIT_SIGNAL } void |