From aeaab905a0711aafef5a64a83a1a511d76f41842 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Oct 2008 21:25:30 +0000 Subject: Make liblo optional for building ingen. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1608 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchTreeWindow.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/gui') diff --git a/src/gui/PatchTreeWindow.cpp b/src/gui/PatchTreeWindow.cpp index 4730da2b..5afce50a 100644 --- a/src/gui/PatchTreeWindow.cpp +++ b/src/gui/PatchTreeWindow.cpp @@ -17,7 +17,6 @@ #include #include "interface/EngineInterface.hpp" -#include "client/OSCEngineSender.hpp" #include "client/ClientStore.hpp" #include "client/PatchModel.hpp" #include "App.hpp" @@ -90,13 +89,7 @@ PatchTreeWindow::add_patch(SharedPtr pm) Gtk::TreeModel::iterator iter = _patch_treestore->append(); Gtk::TreeModel::Row row = *iter; if (pm->path() == "/") { - SharedPtr osc_sender = PtrCast(App::instance().engine()); - string root_name = osc_sender ? osc_sender->uri() : "Internal"; - // Hack off trailing '/' if it's there (ugly) - //if (root_name.substr(root_name.length()-1,1) == "/") - // root_name = root_name.substr(0, root_name.length()-1); - //root_name.append(":/"); - row[_patch_tree_columns.name_col] = root_name; + row[_patch_tree_columns.name_col] = App::instance().engine()->uri(); } else { row[_patch_tree_columns.name_col] = pm->path().name(); } -- cgit v1.2.1