From 6bcec5f82091c860e1625bdc68b0ee4075e84046 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 18 Dec 2007 20:54:46 +0000 Subject: new LocateRollLocate event, used to implement play-at-edit-point-and-return; other fixes from the OS X world git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2792 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/gtkmm2ext/gtkmm2ext/dndtreeview.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libs/gtkmm2ext') diff --git a/libs/gtkmm2ext/gtkmm2ext/dndtreeview.h b/libs/gtkmm2ext/gtkmm2ext/dndtreeview.h index fbc5ea90ef..0bdfe081b2 100644 --- a/libs/gtkmm2ext/gtkmm2ext/dndtreeview.h +++ b/libs/gtkmm2ext/gtkmm2ext/dndtreeview.h @@ -93,15 +93,18 @@ class DnDTreeView : public DnDTreeViewBase */ suggested_action = Gdk::DragAction (0); TreeView::on_drag_data_received (context, x, y, selection_data, info, time); + std::cerr << "DDR, suggested action\n"; return; } if (selection_data.get_target() == "GTK_TREE_MODEL_ROW") { TreeView::on_drag_data_received (context, x, y, selection_data, info, time); - + std::cerr << "\n\nREGULAR TREEVIEW DRAG HAS DROPPED HERE @ " << x << '.' << y << std::endl; + } else if (data_column >= 0) { + std::cerr << "DDR, data/object drop\n"; /* object D-n-D */ const void* data = selection_data.get_data(); @@ -112,6 +115,7 @@ class DnDTreeView : public DnDTreeViewBase } } else { + std::cerr << "DDR, unknown drop\n"; /* some kind of target type added by the app, which will be handled by a signal handler */ } } -- cgit v1.2.3