diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-01 19:53:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-01 19:53:58 +0000 |
commit | e0991be04d5fad5715a90b1fa6e38bcb5a0e5bce (patch) | |
tree | ab1be8c0422d5fdeaac4a2ed5e071d660ce20548 /gtk2_ardour/sfdb_ui.h | |
parent | b05c4dc540d0f9f97975a0d6ff9c3cd8a569b980 (diff) |
add a persistent folder variable so that every time the sfdb_ui is created, it shows the same location that it was left in
git-svn-id: svn://localhost/ardour2/trunk@1404 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index fb0b7da600..bbc6e2edd4 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -88,7 +88,7 @@ class SoundFileBrowser : public ArdourDialog { public: SoundFileBrowser (std::string title, ARDOUR::Session* _s = 0); - virtual ~SoundFileBrowser () {}; + virtual ~SoundFileBrowser (); virtual void set_session (ARDOUR::Session*); @@ -96,7 +96,9 @@ class SoundFileBrowser : public ArdourDialog Gtk::FileChooserWidget chooser; Gtk::FileFilter filter; SoundFileBox preview; - + + static Glib::ustring persistent_folder; + class FoundTagColumns : public Gtk::TreeModel::ColumnRecord { public: @@ -110,7 +112,7 @@ class SoundFileBrowser : public ArdourDialog Gtk::TreeView found_list_view; Gtk::Entry found_entry; Gtk::Button found_search_btn; - + Gtk::Notebook notebook; void update_preview (); |