From c9e37fcc1430a674328069d6a3a5ec7e4284f282 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Jun 2009 01:01:43 +0000 Subject: Option to fit a route group to the editor window. git-svn-id: svn://localhost/ardour2/branches/3.0@5241 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_edit_groups.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_edit_groups.cc') diff --git a/gtk2_ardour/editor_edit_groups.cc b/gtk2_ardour/editor_edit_groups.cc index 6fea319c0d..272a400f6d 100644 --- a/gtk2_ardour/editor_edit_groups.cc +++ b/gtk2_ardour/editor_edit_groups.cc @@ -64,7 +64,8 @@ Editor::build_route_group_list_menu (RouteGroup* g) items.push_back (MenuElem (_("New Group..."), mem_fun(*this, &Editor::new_route_group))); items.push_back (MenuElem (_("New Group From"), *new_from)); if (g) { - items.push_back (MenuElem (_("Edit Group..."), bind (mem_fun(*this, &Editor::edit_route_group), g))); + items.push_back (MenuElem (_("Edit Group..."), bind (mem_fun (*this, &Editor::edit_route_group), g))); + items.push_back (MenuElem (_("Fit Group to Window"), bind (mem_fun (*this, &Editor::fit_route_group), g))); } items.push_back (SeparatorElem()); items.push_back (MenuElem (_("Activate All"), mem_fun(*this, &Editor::activate_all_route_groups))); -- cgit v1.2.3