diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-07-26 19:22:06 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-07-26 19:22:06 +0000 |
commit | f8f84973309fd44de4b693f3fe85551395024c10 (patch) | |
tree | a5bdb0b0f0eedac6537eaf60b2aab1c6b949d1a8 /gtk2_ardour/option_editor.h | |
parent | 3a5a338f80e04676a80c5148064f1e48220e494c (diff) |
Added PathList widget to Gtkmm2ext. It is for adding and removing directory
paths to a list. It'll be used for sfdb_paths and raid_paths in the OptionEditor.
git-svn-id: svn://localhost/ardour2/trunk@693 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r-- | gtk2_ardour/option_editor.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index b9690b02e2..68407246e0 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -33,6 +33,8 @@ #include <gtkmm/radiobutton.h> #include <gtkmm/comboboxtext.h> +#include <gtkmm2ext/pathlist.h> + #include <ardour/session.h> #include "ardour_dialog.h" @@ -70,19 +72,10 @@ class OptionEditor : public Gtk::Dialog /* paths */ - Gtk::Table path_table; - Gtk::Entry session_raid_entry; - - struct SoundFilePathColumns : public Gtk::TreeModel::ColumnRecord { - public: - SoundFilePathColumns() { add (paths); } - Gtk::TreeModelColumn<std::string> paths; - - }; + Gtk::Table path_table; + Gtk::Entry session_raid_entry; - SoundFilePathColumns sfdb_path_columns; - Glib::RefPtr<Gtk::ListStore> sfdb_paths; - Gtk::TreeView sfdb_path_view; + Gtkmm2ext::PathList sfdb_path_view; void setup_path_options(); void add_session_paths (); |