Changeset 12609


Ignore:
Timestamp:
2006-08-30T14:26:33+12:00 (18 years ago)
Author:
kjdon
Message:

exit now takes an int exit_status argument, which is passed to Gatherer.exit

File:
1 edited

Legend:

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

    r12462 r12609  
    452452    }
    453453
    454 
     454    public void exit()
     455    {
     456    exit(0);
     457    }
     458   
    455459    /** This method ensures that all the things needing saving are saved before Gatherer.exit() is called.
    456460     */
    457     public void exit()
     461    public void exit(int exit_status)
    458462    {
    459463    // If we have a collection open remember it for next time, then save it and close it
     
    477481    // If we're running as an applet we don't quit here (we quit when the browser calls GathererApplet.destroy())
    478482    if (!Gatherer.isApplet) {
    479         Gatherer.exit();
     483        Gatherer.exit(exit_status);
    480484    }
    481485    }
Note: See TracChangeset for help on using the changeset viewer.