mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Remove unused EditorSources selection filter
This commit is contained in:
parent
8a9b38e540
commit
f940cbe794
2 changed files with 0 additions and 10 deletions
|
|
@ -161,8 +161,6 @@ EditorSources::EditorSources (Editor* e)
|
||||||
_display.set_headers_visible (true);
|
_display.set_headers_visible (true);
|
||||||
_display.set_rules_hint ();
|
_display.set_rules_hint ();
|
||||||
|
|
||||||
_display.get_selection()->set_select_function (sigc::mem_fun (*this, &EditorSources::selection_filter));
|
|
||||||
|
|
||||||
//set the color of the name field
|
//set the color of the name field
|
||||||
TreeViewColumn* tv_col = _display.get_column(0);
|
TreeViewColumn* tv_col = _display.get_column(0);
|
||||||
CellRendererText* renderer = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (0));
|
CellRendererText* renderer = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (0));
|
||||||
|
|
@ -802,12 +800,6 @@ EditorSources::drag_data_received (const RefPtr<Gdk::DragContext>& context,
|
||||||
/* ToDo: allow dropping files/loops into the source list? */
|
/* ToDo: allow dropping files/loops into the source list? */
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
EditorSources::selection_filter (const RefPtr<TreeModel>& model, const TreeModel::Path& path, bool already_selected)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @return Region that has been dragged out of the list, or 0 */
|
/** @return Region that has been dragged out of the list, or 0 */
|
||||||
boost::shared_ptr<ARDOUR::Region>
|
boost::shared_ptr<ARDOUR::Region>
|
||||||
EditorSources::get_dragged_region ()
|
EditorSources::get_dragged_region ()
|
||||||
|
|
|
||||||
|
|
@ -100,8 +100,6 @@ private:
|
||||||
|
|
||||||
sigc::connection _change_connection;
|
sigc::connection _change_connection;
|
||||||
|
|
||||||
bool selection_filter (const Glib::RefPtr<Gtk::TreeModel>& model, const Gtk::TreeModel::Path& path, bool yn);
|
|
||||||
|
|
||||||
Gtk::Widget* old_focus;
|
Gtk::Widget* old_focus;
|
||||||
|
|
||||||
Gtk::CellEditable* tags_editable;
|
Gtk::CellEditable* tags_editable;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue