From 2a24e293d72c2cf619722668b2e679e90f22c150 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 20 Aug 2012 10:56:21 +0100 Subject: [PATCH] Remove some unused references --- SparkleLib/SparkleRepoBase.cs | 4 +--- SparkleShare/Linux/SparkleSetup.cs | 4 ---- SparkleShare/SparkleEventLogController.cs | 1 - SparkleShare/SparkleKeys.cs | 3 +-- SparkleShare/SparkleStatusIconController.cs | 1 - 5 files changed, 2 insertions(+), 11 deletions(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 3e7b1eb5..2b6969f6 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -18,8 +18,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Threading; using Timers = System.Timers; @@ -122,7 +120,7 @@ namespace SparkleLib { private DateTime last_poll = DateTime.Now; private DateTime progress_last_change = DateTime.Now; private TimeSpan progress_change_interval = new TimeSpan (0, 0, 0, 1); - private Timers.Timer remote_timer = new Timers.Timer () { Interval = 5000 }; + private Timers.Timer remote_timer = new Timers.Timer () { Interval = 5000 }; private bool is_syncing { get { diff --git a/SparkleShare/Linux/SparkleSetup.cs b/SparkleShare/Linux/SparkleSetup.cs index 9d90c3a1..0ce44754 100755 --- a/SparkleShare/Linux/SparkleSetup.cs +++ b/SparkleShare/Linux/SparkleSetup.cs @@ -16,11 +16,7 @@ using System; -using System.Diagnostics; using System.IO; -using System.Text.RegularExpressions; -using System.Timers; -using System.Collections.Generic; using Gtk; using Mono.Unix; diff --git a/SparkleShare/SparkleEventLogController.cs b/SparkleShare/SparkleEventLogController.cs index bf629361..62722392 100755 --- a/SparkleShare/SparkleEventLogController.cs +++ b/SparkleShare/SparkleEventLogController.cs @@ -19,7 +19,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; -using System.Text.RegularExpressions; using System.Threading; using SparkleLib; diff --git a/SparkleShare/SparkleKeys.cs b/SparkleShare/SparkleKeys.cs index 60e7059d..4997e54e 100644 --- a/SparkleShare/SparkleKeys.cs +++ b/SparkleShare/SparkleKeys.cs @@ -18,7 +18,6 @@ using System; using System.Diagnostics; using System.IO; -using System.Net; using SparkleLib; @@ -47,7 +46,7 @@ namespace SparkleShare { process.StartInfo.UseShellExecute = false; process.StartInfo.CreateNoWindow = true; - string computer_name = Dns.GetHostName (); + string computer_name = System.Net.Dns.GetHostName (); if (computer_name.EndsWith (".local")) computer_name = computer_name.Substring (0, computer_name.Length - 6); diff --git a/SparkleShare/SparkleStatusIconController.cs b/SparkleShare/SparkleStatusIconController.cs index c2a29644..a0977bc4 100755 --- a/SparkleShare/SparkleStatusIconController.cs +++ b/SparkleShare/SparkleStatusIconController.cs @@ -16,7 +16,6 @@ using System; -using System.IO; using System.Timers; using Threading = System.Threading;