When unpacking, tell the observer we've started so that the client can display something to
the user at the start, rather then after the first bundle has completed. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@157 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -705,6 +705,11 @@ public class ResourceManager
|
|||||||
public void run ()
|
public void run ()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
// Tell the observer were starting
|
||||||
|
if (_obs != null) {
|
||||||
|
_obs.progress(0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (Iterator iter = _bundles.iterator(); iter.hasNext(); ) {
|
for (Iterator iter = _bundles.iterator(); iter.hasNext(); ) {
|
||||||
ResourceBundle bundle = (ResourceBundle)iter.next();
|
ResourceBundle bundle = (ResourceBundle)iter.next();
|
||||||
|
|||||||
Reference in New Issue
Block a user