summaryrefslogtreecommitdiff
path: root/core/tab.vala
diff options
context:
space:
mode:
Diffstat (limited to 'core/tab.vala')
-rw-r--r--core/tab.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/tab.vala b/core/tab.vala
index 9bdf87e0..558f7166 100644
--- a/core/tab.vala
+++ b/core/tab.vala
@@ -203,6 +203,11 @@ namespace Midori {
public override bool context_menu (WebKit.ContextMenu menu,
Gdk.Event event, WebKit.HitTestResult hit) {
+ // No context menu for pinned tabs
+ if (pinned) {
+ return true;
+ }
+
if (hit.context_is_editable ()) {
return false;
}