Skip to content

Commit

Permalink
Merge pull request #46 from mdamt/X182-1
Browse files Browse the repository at this point in the history
Disable context menu outside DEBUG mode
  • Loading branch information
herpiko authored Jun 28, 2016
2 parents 003c052 + 219ee2a commit 833fee6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/installer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,10 @@ public class Installer : WebView {
if (debug == "1") {
settings.enable_developer_extras = true;
web_inspector.inspect_web_view.connect(getInspectorView);
} else {
settings.enable_default_context_menu = false;
}

settings.enable_file_access_from_file_uris = true;
settings.enable_universal_access_from_file_uris = true;
set_settings(settings);
Expand Down

0 comments on commit 833fee6

Please sign in to comment.