event log: Disable plugins in WebView. Fixes #1638
This commit is contained in:
parent
ca93af9b66
commit
a5017b45e1
|
@ -70,6 +70,7 @@ namespace SparkleShare {
|
|||
new Gdk.RGBA () { Red = 1, Green = 1, Blue=1, Alpha = 1 });
|
||||
|
||||
this.web_view = new WebView () { Editable = false };
|
||||
this.web_view.Settings.EnablePlugins = false;
|
||||
this.web_view.NavigationRequested += WebViewNavigationRequested;
|
||||
|
||||
this.scrolled_window.Add (this.web_view);
|
||||
|
|
|
@ -76,6 +76,8 @@ namespace SparkleShare {
|
|||
new SizeF (ContentView.Frame.Width, ContentView.Frame.Height - 39))
|
||||
};
|
||||
|
||||
this.web_view.Preferences.PlugInsEnabled = false;
|
||||
|
||||
this.cover = new NSBox () {
|
||||
Frame = new RectangleF (
|
||||
new PointF (-1, -1),
|
||||
|
|
Loading…
Reference in a new issue