2002/07/19 04:41:24
[org.ibex.core.git] / src / org / xwt / builtin / splash.xwt
index 3d2f595..97ceac0 100644 (file)
@@ -9,8 +9,11 @@
 
         xwt.thread = function() {
             var origin = xwt.origin;
-            if (origin.substring(0, 21) == "http://launch.xwt.org")
+            if (origin.substring(0, 21) == "http://launch.xwt.org") {
                 origin = origin.substring(22);
+                origin = "http://" + origin.substring(origin.indexOf('/') + 1);
+            }
+            xwt.println("origin is " + origin);
 
             xwt.loadArchive(origin, function(num, den) {
                     $left.flex = 50 * (num / den);
@@ -39,9 +42,8 @@
         <box absolute="true" sizetoimage="true" id="inner" image="org.xwt.builtin.lithium"/>
 
         <box/>
-        <box text="Downloading user interface..." vshrink="true" hpad="30" vpad="3" id="status" textcolor="white"/>
+        <box text="Downloading user interface..." vshrink="true" hpad="4" vpad="3" id="status" textcolor="white"/>
         <box hpad="4" height="10">
-            <box width="25"/>
             <box flex="0.0" image="org.xwt.builtin.progress" tile="true" id="left"/>
             <box flex="100.0" id="right"/>
         </box>