diff options
author | David Robillard <d@drobilla.net> | 2011-12-01 03:40:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-01 03:40:57 +0000 |
commit | 3ce44626f2e557494248d746f688f20eed4be197 (patch) | |
tree | 2f70cef0a4f4476bfd0a86596a8498af41aef27e /src/PatchageModule.cpp | |
parent | 5a227a3b6e43c48e2d0cfeda00d06ff175a08968 (diff) | |
download | patchage-3ce44626f2e557494248d746f688f20eed4be197.tar.gz patchage-3ce44626f2e557494248d746f688f20eed4be197.tar.bz2 patchage-3ce44626f2e557494248d746f688f20eed4be197.zip |
Remove menu stuff from FlowCanvas.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3717 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 4254015..e9743f5 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -82,6 +82,15 @@ PatchageModule::show_menu(GdkEventButton* ev) return true; } +bool +PatchageModule::on_click(GdkEventButton* ev) +{ + if (ev->button == 3) { + return show_menu(ev); + } + return false; +} + void PatchageModule::load_location() { |