summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/GtkObjectController.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-12 00:41:00 +0000
committerDavid Robillard <d@drobilla.net>2006-06-12 00:41:00 +0000
commit190e2cf3c91f8bd5b1a6f69d00e84a108c743898 (patch)
tree2c7e2d52fd51cfbab6b18d523821bd456cbd6edd /src/progs/gtk/GtkObjectController.cpp
parentf43bdc8241e1bfab0980199bcd995e214ff94720 (diff)
downloadingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.tar.gz
ingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.tar.bz2
ingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.zip
Metadata working based on Store signals (node positions restored)
git-svn-id: http://svn.drobilla.net/lad/grauph@29 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/GtkObjectController.cpp')
-rw-r--r--src/progs/gtk/GtkObjectController.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/progs/gtk/GtkObjectController.cpp b/src/progs/gtk/GtkObjectController.cpp
index 49abe58f..241f123b 100644
--- a/src/progs/gtk/GtkObjectController.cpp
+++ b/src/progs/gtk/GtkObjectController.cpp
@@ -23,16 +23,7 @@ GtkObjectController::GtkObjectController(CountedPtr<ObjectModel> model)
: m_model(model)
{
assert(m_model);
-}
-
-
-/** Derived classes should override this to handle special metadata
- * keys, then call this to set the model's metadata key.
- */
-void
-GtkObjectController::metadata_update(const string& key, const string& value)
-{
- m_model->set_metadata(key, value);
+ model->metadata_update_sig.connect(sigc::mem_fun(this, &GtkObjectController::metadata_update));
}