changeset 178:1470d66733fa

update TANGOSVN
author Frank Benoit <benoit@tionex.de>
date Mon, 15 Sep 2008 03:42:10 +0200
parents 21c77bcb7887
children 9008cb2f47c5
files dwtx/dwtxhelper/Timer.d dwtx/jface/dialogs/DialogSettings.d
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dwtx/dwtxhelper/Timer.d	Fri Sep 12 18:50:33 2008 +0200
+++ b/dwtx/dwtxhelper/Timer.d	Mon Sep 15 03:42:10 2008 +0200
@@ -86,7 +86,11 @@
     }
     void   scheduleAtFixedRate(TimerTask task, long delay, long period){
         assert( task );
+        version(TANGOSVN){
+        task.executionTime = Clock.now + TimeSpan.fromMillis(delay);
+        } else {
         task.executionTime = Clock.now + TimeSpan.millis(delay);
+        }
         task.timer = this;
         synchronized(mutex){
             int index = 0;
--- a/dwtx/jface/dialogs/DialogSettings.d	Fri Sep 12 18:50:33 2008 +0200
+++ b/dwtx/jface/dialogs/DialogSettings.d	Mon Sep 15 03:42:10 2008 +0200
@@ -18,8 +18,6 @@
 static import tango.text.xml.Document;
 static import tango.text.xml.SaxParser;
 static import tango.text.xml.PullParser;
-static import tango.text.xml.XmlPrinter;
-
 
 import dwt.dwthelper.utils;
 import dwtx.dwtxhelper.Collection;
@@ -66,7 +64,6 @@
 public class DialogSettings : IDialogSettings {
     alias tango.text.xml.Document.Document!(char) Document;
     alias tango.text.xml.Document.Document!(char).Node Element;
-    alias tango.text.xml.XmlPrinter.XmlPrinter!(char) XmlPrinter;
     // The name of the DialogSettings.
     private String name;