summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 03:43:53 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 03:43:53 +0000
commit8f5f234b6a81f96fa156257531c20b1b5bd17cfe (patch)
treedc40de2bc958f0b85b6dd50472355a77b9361e37
parent8211b45bffe20e8a271396b7568609a84b7cf0ec (diff)
downloadingen-8f5f234b6a81f96fa156257531c20b1b5bd17cfe.tar.gz
ingen-8f5f234b6a81f96fa156257531c20b1b5bd17cfe.tar.bz2
ingen-8f5f234b6a81f96fa156257531c20b1b5bd17cfe.zip
Don't send selection information to the server.
This also happens to fix some truly bizarre problems with pasting. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4368 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--ingen/shared/URIs.hpp1
-rw-r--r--src/gui/NodeModule.cpp9
-rw-r--r--src/gui/PatchCanvas.cpp4
-rw-r--r--src/gui/PatchPortModule.cpp9
-rw-r--r--src/shared/URIs.cpp1
5 files changed, 0 insertions, 24 deletions
diff --git a/ingen/shared/URIs.hpp b/ingen/shared/URIs.hpp
index 0fd2cbdc..7b89c2ba 100644
--- a/ingen/shared/URIs.hpp
+++ b/ingen/shared/URIs.hpp
@@ -88,7 +88,6 @@ public:
const Quark ingen_polyphony;
const Quark ingen_prototype;
const Quark ingen_sampleRate;
- const Quark ingen_selected;
const Quark ingen_tail;
const Quark ingen_uiEmbedded;
const Quark ingen_value;
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 03a56df1..ad3f23bb 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -396,10 +396,6 @@ NodeModule::property_changed(const URI& key, const Atom& value)
} else if (value.type() == uris.forge.Bool) {
if (key == uris.ingen_polyphonic) {
set_stacked(value.get_bool());
- } else if (key == uris.ingen_selected) {
- if (value.get_bool() != get_selected()) {
- set_selected(value.get_bool());
- }
} else if (key == uris.ingen_uiEmbedded) {
if (value.get_bool() && !_gui_widget) {
embed_gui(true);
@@ -436,11 +432,6 @@ NodeModule::set_selected(gboolean b)
}
}
}
- if (app().signal()) {
- app().interface()->set_property(_node->path(),
- uris.ingen_selected,
- app().forge().make(b));
- }
}
}
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 640051cb..587928a6 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -757,10 +757,6 @@ PatchCanvas::paste()
y->second = _app.forge().make(
y->second.get_float() + (20.0f * _paste_count));
- if (i->first.parent().is_root())
- i->second->set_property(uris.ingen_selected,
- _app.forge().make(true));
-
builder.build(i->second);
}
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 5ea90f55..e716a12d 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -152,10 +152,6 @@ PatchPortModule::property_changed(const URI& key, const Atom& value)
} else if (value.type() == uris.forge.Bool) {
if (key == uris.ingen_polyphonic) {
set_stacked(value.get_bool());
- } else if (key == uris.ingen_selected) {
- if (value.get_bool() != get_selected()) {
- set_selected(value.get_bool());
- }
}
}
}
@@ -165,11 +161,6 @@ PatchPortModule::set_selected(gboolean b)
{
if (b != get_selected()) {
Module::set_selected(b);
- if (app().signal())
- app().interface()->set_property(
- _model->path(),
- app().uris().ingen_selected,
- app().forge().make(b));
}
}
diff --git a/src/shared/URIs.cpp b/src/shared/URIs.cpp
index abb0a011..1bc64c27 100644
--- a/src/shared/URIs.cpp
+++ b/src/shared/URIs.cpp
@@ -83,7 +83,6 @@ URIs::URIs(Shared::Forge& f, URIMap* map)
, ingen_polyphony (forge, map, NS_INGEN "polyphony")
, ingen_prototype (forge, map, NS_INGEN "prototype")
, ingen_sampleRate (forge, map, NS_INGEN "sampleRate")
- , ingen_selected (forge, map, NS_INGEN "selected")
, ingen_tail (forge, map, NS_INGEN "tail")
, ingen_uiEmbedded (forge, map, NS_INGEN "uiEmbedded")
, ingen_value (forge, map, NS_INGEN "value")