X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FPageThemeParser.cs;h=8afc3aa9cfd11b5cf85b2671cbe836798006e1c5;hb=272033f2e2852eb44827769b2a993390d453cc56;hp=52f982e7020d33d9325b2cf66a9ae8f018a21a5b;hpb=c39d7ce9985a7067c1cbf44188007c9433901940;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/PageThemeParser.cs b/mcs/class/System.Web/System.Web.UI/PageThemeParser.cs index 52f982e7020..8afc3aa9cfd 100644 --- a/mcs/class/System.Web/System.Web.UI/PageThemeParser.cs +++ b/mcs/class/System.Web/System.Web.UI/PageThemeParser.cs @@ -4,7 +4,7 @@ // Authors: // Chris Toshok (toshok@ximian.com) // -// (C) 2006 Novell, Inc. (http://www.novell.com) +// (C) 2006-2010 Novell, Inc. (http://www.novell.com) // // @@ -28,8 +28,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 - using System; using System.Collections; using System.IO; @@ -48,24 +46,18 @@ namespace System.Web.UI set { linkedStyleSheets = value; } } - internal PageThemeParser (string virtualPath, HttpContext context) - : base (virtualPath, Path.GetDirectoryName(virtualPath), context, "System.Web.UI.PageTheme") + internal PageThemeParser (VirtualPath virtualPath, HttpContext context) + : base (virtualPath, virtualPath.PhysicalPath, context, "System.Web.UI.PageTheme") { - AddDependency (virtualPath); + AddDependency (virtualPath.Original); } internal override void HandleOptions (object obj) { } - internal override Type DefaultBaseType { - get { return typeof (PageTheme); } - } - internal override string DefaultBaseTypeName { get { return "System.Web.UI.PageTheme"; } } } } - -#endif