diff --git a/SparkleShare/SparkleLog.cs b/SparkleShare/SparkleLog.cs index d54bbdad..6a46da8a 100644 --- a/SparkleShare/SparkleLog.cs +++ b/SparkleShare/SparkleLog.cs @@ -20,6 +20,7 @@ using SparkleLib; using System; using System.Collections.Generic; using System.Diagnostics; +using System.IO; using System.Text.RegularExpressions; using WebKit; @@ -482,13 +483,23 @@ namespace SparkleShare { } + StreamReader reader = new StreamReader ("/home/hbons/github/SparkleShare/data/html/event-log.html"); + + string html = reader.ReadToEnd (); + + + reader.Close (); + + + WebView = new WebView (); ScrolledWindow = new ScrolledWindow (); EventBox wrapper = new EventBox (); wrapper.ModifyBg (StateType.Normal, background_color); wrapper.Add (layout_vertical); - WebView.LoadHtmlString ("test", ""); + WebView.LoadHtmlString (html, ""); + WebView.HoveringOverLink += delegate {}; ScrolledWindow.AddWithViewport (WebView); (ScrolledWindow.Child as Viewport).ShadowType = ShadowType.None; diff --git a/configure.ac b/configure.ac index 856277e2..e6fb30b0 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,7 @@ build/m4/shave/shave build/m4/shave/shave-libtool data/Makefile data/icons/Makefile +data/html/Makefile help/Makefile NotifySharp/Makefile SparkleLib/AssemblyInfo.cs