summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp9
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()
{