summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-23 02:38:16 +0000
committerDavid Robillard <d@drobilla.net>2012-04-23 02:38:16 +0000
commit682201731f28c627cf39592f4718a959862fa5f2 (patch)
tree4dd6a10bc539db99cbc7d4519d048a6059f8169d /src/gui/PatchCanvas.cpp
parent8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc (diff)
downloadingen-682201731f28c627cf39592f4718a959862fa5f2.tar.gz
ingen-682201731f28c627cf39592f4718a959862fa5f2.tar.bz2
ingen-682201731f28c627cf39592f4718a959862fa5f2.zip
Remove vestigial edit mode stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4253 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r--src/gui/PatchCanvas.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index dc5c8a49..1eb1413f 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -147,11 +147,6 @@ PatchCanvas::PatchCanvas(App& app,
sigc::mem_fun(this, &PatchCanvas::menu_load_patch));
_menu_new_patch->signal_activate().connect(
sigc::mem_fun(this, &PatchCanvas::menu_new_patch));
- _menu_edit->signal_activate().connect(
- sigc::mem_fun(this, &PatchCanvas::menu_edit_toggled));
-
- _patch->signal_editable().connect(
- sigc::mem_fun(this, &PatchCanvas::patch_editable_changed));
}
void
@@ -590,12 +585,6 @@ PatchCanvas::on_event(GdkEvent* event)
destroy_selection();
ret = true;
break;
- case GDK_e:
- if (event->key.state == 0) {
- _patch->set_editable(!_patch->get_editable());
- ret = true;
- }
- break;
case GDK_Home:
scroll_to(0, 0);
break;
@@ -884,18 +873,5 @@ PatchCanvas::menu_new_patch()
_patch, get_initial_data(Resource::EXTERNAL));
}
-void
-PatchCanvas::menu_edit_toggled()
-{
- _patch->set_editable(_menu_edit->get_active());
-}
-
-void
-PatchCanvas::patch_editable_changed(bool editable)
-{
- if (_menu_edit->get_active() != editable)
- _menu_edit->set_active(editable);
-}
-
} // namespace GUI
} // namespace Ingen