Ignore:
Timestamp:
2007-01-12T16:59:21+13:00 (17 years ago)
Author:
mdewsnip
Message:

Tidied up the openCollectionFromLastTime() stuff in preparation for making it work with remote building.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r13596 r13599  
    461461        g_man.setVisible(true);
    462462    }
     463
     464    // If there was a collection left open last time, reopen it
     465    c_man.openCollectionFromLastTime();
    463466    }
    464467
  • trunk/gli/src/org/greenstone/gatherer/GathererApplet.java

    r13328 r13599  
    171171    {
    172172    System.err.println("Stop called");
    173 
    174173    }
    175174
     
    186185    {
    187186    gatherer.openGUI();
    188 
    189     // If there was an open collection last session, reopen it
    190     new OpenCollectionFromLastTimeTask().start();
    191     }
    192 
    193 
    194     /** This is in it's own thread because this action cannot happen on the GUI thread. */
    195     private class OpenCollectionFromLastTimeTask
    196     extends Thread
    197     {
    198     public void run()
    199     {
    200         Gatherer.c_man.openCollectionFromLastTime();
    201     }
    202187    }
    203188
  • trunk/gli/src/org/greenstone/gatherer/GathererProg.java

    r13598 r13599  
    7979    // Display the GUI immediately
    8080    gatherer.openGUI();
    81 
    82     // If there was an open collection last session, reopen it
    83     Gatherer.c_man.openCollectionFromLastTime();
    8481    }
    8582}
Note: See TracChangeset for help on using the changeset viewer.