about: remove references to SparkleLib
This commit is contained in:
parent
5eb0d3d707
commit
33d8f2ed5b
|
@ -55,6 +55,13 @@ namespace SparkleLib {
|
|||
}
|
||||
|
||||
|
||||
public static string Version {
|
||||
get {
|
||||
return Defines.VERSION;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Strange magic needed by Platform ()
|
||||
[DllImport ("libc")]
|
||||
static extern int uname (IntPtr buf);
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
// SparkleShare, a collaboration and sharing tool.
|
||||
// Copyright (C) 2010 Hylke Bons <hylkebons@gmail.com>
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml;
|
||||
|
||||
using Mono.Unix;
|
||||
|
||||
namespace SparkleLib {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -23,7 +23,6 @@ using MonoMac.Foundation;
|
|||
using MonoMac.AppKit;
|
||||
using MonoMac.ObjCRuntime;
|
||||
using MonoMac.WebKit;
|
||||
using SparkleLib;
|
||||
|
||||
namespace SparkleShare {
|
||||
|
||||
|
@ -101,7 +100,7 @@ namespace SparkleShare {
|
|||
};
|
||||
|
||||
VersionTextField = new NSTextField () {
|
||||
StringValue = Defines.VERSION,
|
||||
StringValue = SparkleShare.Controller.Version,
|
||||
Frame = new RectangleF (22, Frame.Height - 94, 318, 22),
|
||||
BackgroundColor = NSColor.White,
|
||||
Bordered = false,
|
||||
|
|
|
@ -21,7 +21,6 @@ using System.IO;
|
|||
using System.Net;
|
||||
|
||||
using Gtk;
|
||||
using SparkleLib;
|
||||
using Mono.Unix;
|
||||
|
||||
namespace SparkleShare {
|
||||
|
@ -76,7 +75,7 @@ namespace SparkleShare {
|
|||
box.ModifyBg (StateType.Normal, new TreeView ().Style.Base (StateType.Normal));
|
||||
|
||||
Label header = new Label () {
|
||||
Markup = "<span font_size='xx-large'>SparkleShare</span>\n<span fgcolor='" + secondary_text_color + "'><small>" + Defines.VERSION + "</small></span>",
|
||||
Markup = "<span font_size='xx-large'>SparkleShare</span>\n<span fgcolor='" + secondary_text_color + "'><small>" + SparkleShare.SparkleController.Version + "</small></span>",
|
||||
Xalign = 0,
|
||||
Xpad = 18,
|
||||
Ypad = 18
|
||||
|
|
|
@ -985,6 +985,13 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public string Version {
|
||||
get {
|
||||
return SparkleBackend.Version;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void CheckForNewVersion ()
|
||||
{
|
||||
WebClient web_client = new WebClient ();
|
||||
|
|
Loading…
Reference in a new issue