From f104de51384a66a24761c89d1e5b275fae0facd3 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 11 Feb 2018 16:28:32 +0000 Subject: [PATCH] linux eventlog: Fix whitespace --- SparkleShare/Linux/EventLog.cs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/SparkleShare/Linux/EventLog.cs b/SparkleShare/Linux/EventLog.cs index b0c8b02e..f4c32e8a 100755 --- a/SparkleShare/Linux/EventLog.cs +++ b/SparkleShare/Linux/EventLog.cs @@ -171,10 +171,10 @@ namespace SparkleShare { html = html.Replace ("", StyleContext.GetFont (StateFlags.Normal).Family); html = html.Replace ("", (double) (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px"); html = html.Replace ("", UserInterfaceHelpers.RGBAToHex (StyleContext.GetColor (StateFlags.Normal))); - - // TODO - // html = html.Replace ("", - // UserInterfaceHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color"))); + + // TODO + // html = html.Replace ("", + // UserInterfaceHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color"))); html = html.Replace ("", (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px"); html = html.Replace ("", @@ -186,25 +186,25 @@ namespace SparkleShare { html = html.Replace ("", "90%"); html = html.Replace ("", pixmaps_path); - html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-added.png")); - html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-edited.png")); - html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-deleted.png")); - html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-moved.png")); - + html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-added.png")); + html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-edited.png")); + html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-deleted.png")); + html = html.Replace ("", "file://" + IO.Path.Combine (icons_path, "document-moved.png")); + this.spinner.Stop (); this.scrolled_window.Remove (this.scrolled_window.Child); this.web_view.Dispose (); this.web_view = CreateWebView (); this.web_view.LoadHtml (html, "file:///"); - + this.scrolled_window.Add (this.web_view); this.content_wrapper.Remove (this.content_wrapper.Child); this.content_wrapper.Add (this.scrolled_window); this.scrolled_window.ShowAll (); } - + WebView CreateWebView () { @@ -212,7 +212,7 @@ namespace SparkleShare { web_view.Settings.EnablePlugins = false; web_view.LinkClicked += Controller.LinkClicked; - + return web_view; } @@ -236,7 +236,7 @@ namespace SparkleShare { decision.Use (); return false; } - + LinkClicked (uri); decision.Ignore ();