mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
a few fixes for zoom, plus the results of unfinished work on zoom redrawing, plus cleanup of debugging code in DnDTreevew
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2827 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f7a174a59b
commit
d41f7a0a70
6 changed files with 39 additions and 33 deletions
|
|
@ -93,18 +93,15 @@ 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();
|
||||
|
|
@ -115,7 +112,6 @@ 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 */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue