summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index f733087e..02d68330 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -49,6 +49,8 @@ PluginModel::PluginModel(const string& uri, const string& type_uri)
_slv2_plugin = slv2_plugins_get_by_uri(_slv2_plugins, plugin_uri);
slv2_value_free(plugin_uri);
#endif
+ if (_type == Internal)
+ set_property("doap:name", Raul::Atom(uri.substr(uri.find_last_of("#") + 1).c_str()));
}