Changeset 14974 for gli/trunk/src/org/greenstone/gatherer/gui
- Timestamp:
- 2008-02-12T16:13:13+13:00 (16 years ago)
- Location:
- gli/trunk/src/org/greenstone/gatherer/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/DesignPane.java
r12144 r14974 39 39 import org.greenstone.gatherer.cdm.CollectionDesignManager; 40 40 import org.greenstone.gatherer.cdm.Control; 41 42 import org.greenstone.gatherer.Configuration; 43 41 44 public class DesignPane 42 45 extends BaseConfigPane { … … 45 48 public DesignPane() { 46 49 super(); 47 contents = new String [] { "CDM.GUI.Plugins", "CDM.GUI.Indexes", "CDM.GUI.Subcollections", "CDM.GUI.Classifiers" }; 50 if (Configuration.fedora_info.isActive()) { 51 contents = new String [] { "CDM.GUI.Plugins" }; 52 } 53 else { 54 contents = new String [] { "CDM.GUI.Plugins", "CDM.GUI.Indexes", "CDM.GUI.Subcollections", "CDM.GUI.Classifiers" }; 55 } 48 56 49 57 } -
gli/trunk/src/org/greenstone/gatherer/gui/GUIManager.java
r13944 r14974 387 387 if (Configuration.get("workflow.design", true)) { 388 388 // "GUI.Design_Tooltip" is used automatically 389 tab_pane.addTab(Dictionary.get("GUI.Design"), JarTools.getImage("design.gif"), design_pane, Dictionary.get("GUI.Design_Tooltip")); 389 if (Configuration.fedora_info.isActive()) { 390 tab_pane.addTab("Plugins", JarTools.getImage("design.gif"), design_pane, Dictionary.get("GUI.Design_Tooltip")); 391 } 392 else { 393 tab_pane.addTab(Dictionary.get("GUI.Design"), JarTools.getImage("design.gif"), design_pane, Dictionary.get("GUI.Design_Tooltip")); 394 } 395 390 396 tab_pane.setEnabledAt(tab_pane.indexOfComponent(design_pane), false); 391 397 } … … 641 647 public void setTitle(String title, String name) { 642 648 // Finally display the collection name in the title bar. 643 StringBuffer title_buffer = new StringBuffer( Gatherer.PROGRAM_NAME);649 StringBuffer title_buffer = new StringBuffer(Configuration.getApplicationTitle()); 644 650 title_buffer.append(StaticStrings.SPACE_CHARACTER); 645 651 title_buffer.append(Gatherer.PROGRAM_VERSION);
Note:
See TracChangeset
for help on using the changeset viewer.