Changeset 11699 for branches


Ignore:
Timestamp:
2006-04-26T13:08:28+12:00 (18 years ago)
Author:
kjdon
Message:

Michael's changes to disable library and gliserver url fields in the applet, for the branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsdl-2_70-distribution-branch/gli/src/org/greenstone/gatherer/gui/Preferences.java

    r10726 r11699  
    198198        Dictionary.registerTooltip(library_path_field, "Preferences.Connection.Library_Path_Tooltip");
    199199    }
     200    // Disable this field when using the applet, as it is automatically determined
     201    library_path_label.setEnabled(!Gatherer.isApplet);
     202    library_path_field.setEnabled(!Gatherer.isApplet);
    200203
    201204    JPanel gliserver_url_pane = null;
     
    214217        Dictionary.registerText(gliserver_url_label, "Preferences.Connection.GLIServer_URL");
    215218        Dictionary.registerTooltip(gliserver_url_field, "Preferences.Connection.GLIServer_URL_Tooltip");
     219
     220        // Disable this field when using the applet, as it is automatically determined
     221        gliserver_url_label.setEnabled(!Gatherer.isApplet);
     222        gliserver_url_field.setEnabled(!Gatherer.isApplet);
    216223    }
    217224
Note: See TracChangeset for help on using the changeset viewer.