Changeset 18302 for gli

Show
Ignore:
Timestamp:
05.01.2009 20:18:37 (11 years ago)
Author:
kjdon
Message:

added action commands to document and section checkboxes. it was writing the levels out in the display language instead of the correct english words

Files:
1 modified

Legend:

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

    r17114 r18302  
    332332        document_checkbox = new JCheckBox(); 
    333333        document_checkbox.setText(Dictionary.get("CDM.LevelManager.Document")); 
     334        document_checkbox.setActionCommand(StaticStrings.DOCUMENT_STR); 
    334335        document_default_radio = new JRadioButton(); 
    335336        document_default_radio.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); 
     
    341342        section_checkbox = new JCheckBox(); 
    342343        section_checkbox.setText(Dictionary.get("CDM.LevelManager.Section")); 
     344        section_checkbox.setActionCommand(StaticStrings.SECTION_STR); 
    343345        section_default_radio = new JRadioButton(); 
    344346        section_default_radio.setOpaque(true);