projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/06/13 09:19:10
[org.ibex.core.git]
/
src
/
org
/
xwt
/
builtin
/
splash.xwt
diff --git
a/src/org/xwt/builtin/splash.xwt
b/src/org/xwt/builtin/splash.xwt
index
7ecd8ae
..
dcbc66c
100644
(file)
--- a/
src/org/xwt/builtin/splash.xwt
+++ b/
src/org/xwt/builtin/splash.xwt
@@
-34,7
+34,7
@@
$status.text = "Downloading: " + pct + "% [" + num + "]";
});
$status.text = "Downloading: " + pct + "% [" + num + "]";
});
- xwt.newBox("main", function(num, den) {
+ xwt.newBox().apply("main", function(num, den) {
$left.flex = 50 + 50 * (num / den);
$right.flex = 50 * (1.0 - num / den);
if ($right.flex == 0) $right.width = 0;
$left.flex = 50 + 50 * (num / den);
$right.flex = 50 * (1.0 - num / den);
if ($right.flex == 0) $right.width = 0;
@@
-44,7
+44,10
@@
} catch (e) {
$status.text = "Error: " + e;
} catch (e) {
$status.text = "Error: " + e;
- if ($status.text.substring(0, 13) == "Error: Error:") $status.text = $status.text.substring(7);
+ if ($status.text.substring(0, 13) == "Error: Error:") {
+ $status.text = $status.text.substring(7) +
+ " (press Esc to quit)";
+ }
}
}
}
}