diff options
author | David Robillard <d@drobilla.net> | 2012-05-12 03:43:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-12 03:43:53 +0000 |
commit | 8f5f234b6a81f96fa156257531c20b1b5bd17cfe (patch) | |
tree | dc40de2bc958f0b85b6dd50472355a77b9361e37 /src/gui | |
parent | 8211b45bffe20e8a271396b7568609a84b7cf0ec (diff) | |
download | ingen-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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/NodeModule.cpp | 9 | ||||
-rw-r--r-- | src/gui/PatchCanvas.cpp | 4 | ||||
-rw-r--r-- | src/gui/PatchPortModule.cpp | 9 |
3 files changed, 0 insertions, 22 deletions
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)); } } |