(Source List) Implement remove_selected_sources when the user clicks Delete key.

This commit is contained in:
Ben Loftis 2018-11-08 13:07:52 -06:00
parent 98c509cc48
commit 77950c36c5
2 changed files with 21 additions and 50 deletions

View file

@ -60,8 +60,6 @@ public:
_display.get_selection()->unselect_all ();
}
void remove_unused_regions ();
XMLNode& get_state () const;
void set_state (const XMLNode &);
@ -124,13 +122,11 @@ private:
Glib::RefPtr<Gdk::DragContext> const &, gint, gint, Gtk::SelectionData const &, guint, guint
);
Glib::RefPtr<Gtk::Action> remove_unused_regions_action () const; //TODO: what is the equivalent?
Gtk::Menu* _menu;
Gtk::ScrolledWindow _scroller;
Gtk::Frame _frame;
Gtkmm2ext::DnDTreeView<boost::shared_ptr<ARDOUR::Source> > _display; //TODO .. try changing this to region
Gtkmm2ext::DnDTreeView<boost::shared_ptr<ARDOUR::Source> > _display;
Glib::RefPtr<Gtk::TreeStore> _model;