summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-29 02:01:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-29 02:01:35 +0000
commit5f128910e1f271200d38e1df20f01e86fe788a35 (patch)
tree827cc28235e88372dbc8e640eb00675f0b984aad /gtk2_ardour/editor_routes.cc
parent03fe5aa56d28e1158eb92c0ee163d2a1b3a20a97 (diff)
more route + region list navigation/editing changes. not sure we actually want this functionality for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@7858 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index edbcefa0f5..4f215d7bb6 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -231,6 +231,8 @@ EditorRoutes::focus_in (GdkEventFocus*)
old_focus = 0;
}
+ name_editable = 0;
+
/* try to do nothing on focus in (doesn't work, hence selection_count nonsense) */
return true;
}
@@ -243,6 +245,7 @@ EditorRoutes::focus_out (GdkEventFocus*)
old_focus = 0;
}
+ name_editable = 0;
return false;
}
@@ -268,6 +271,7 @@ EditorRoutes::leave_notify (GdkEventCrossing*)
old_focus = 0;
}
+ name_editable = 0;
Keyboard::magic_widget_drop_focus ();
return false;
}
@@ -884,8 +888,6 @@ EditorRoutes::key_press (GdkEventKey* ev)
boost::shared_ptr<RouteList> rl (new RouteList);
TreePath path;
- cerr << "our key press\n";
-
switch (ev->keyval) {
case GDK_Tab:
case GDK_ISO_Left_Tab: