Changeset 23860

Show
Ignore:
Timestamp:
07.04.2011 15:23:07 (8 years ago)
Author:
ak19
Message:

Ticket 581: Export As option appears to work for GS3 both from command-line and from GLI.

Files:
1 modified

Legend:

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

    r20123 r23860  
    118118    file_exportas = new JMenuItem(Dictionary.get("Menu.File_ExportAs")); 
    119119    file_exportas.addActionListener(Gatherer.g_man); 
    120     file_exportas.setEnabled((!Gatherer.isGsdlRemote && !Gatherer.GS3)); 
     120    file_exportas.setEnabled(!Gatherer.isGsdlRemote); 
    121121    file_exportas.setComponentOrientation(Dictionary.getOrientation()); 
    122122         
     
    145145    file.add(new JSeparator()); 
    146146    file.add(file_delete); 
     147    file.add(file_exportas); 
     148    // these currently don't work. better to just disable them? 
    147149    if (!Gatherer.GS3) { 
    148       // these currently don't work. better to just disable them? 
    149       file.add(file_exportas); 
    150       file.add(file_cdimage); 
     150        file.add(file_cdimage); 
    151151    } 
    152152    file.add(new JSeparator());