Changeset 20123


Ignore:
Timestamp:
2009-08-03T14:05:45+12:00 (13 years ago)
Author:
kjdon
Message:

export and write cd don't work for gs3 so am hiding the menu items

File:
1 edited

Legend:

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

    r19306 r20123  
    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)); 
    121         file_exportas.setComponentOrientation(Dictionary.getOrientation());
     120    file_exportas.setEnabled((!Gatherer.isGsdlRemote && !Gatherer.GS3));
     121    file_exportas.setComponentOrientation(Dictionary.getOrientation());
    122122       
    123123    file_new = new JMenuItem(Dictionary.get("Menu.File_New"));
     
    145145    file.add(new JSeparator());
    146146    file.add(file_delete);
    147     file.add(file_exportas);
    148     file.add(file_cdimage);
     147    if (!Gatherer.GS3) {
     148      // these currently don't work. better to just disable them?
     149      file.add(file_exportas);
     150      file.add(file_cdimage);
     151    }
    149152    file.add(new JSeparator());
    150153    file.add(file_associations);
Note: See TracChangeset for help on using the changeset viewer.