[build] install html pages properly

This commit is contained in:
Hylke Bons 2010-11-06 15:37:04 +00:00
parent a1c8c8b321
commit 5ca7b86d74
2 changed files with 13 additions and 1 deletions

View file

@ -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 ("<b>test</b>", "");
WebView.LoadHtmlString (html, "");
WebView.HoveringOverLink += delegate {};
ScrolledWindow.AddWithViewport (WebView);
(ScrolledWindow.Child as Viewport).ShadowType = ShadowType.None;

View file

@ -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