Remove some unused references

This commit is contained in:
Hylke Bons 2012-08-20 10:56:21 +01:00
parent 632e9b7e12
commit 2a24e293d7
5 changed files with 2 additions and 11 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -16,7 +16,6 @@
using System;
using System.IO;
using System.Timers;
using Threading = System.Threading;