Changeset 37688
- Timestamp:
- 2023-04-20T16:21:53+12:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/file/FileAssociationManager.java
r37677 r37688 89 89 } else if(StaticStrings.LINUX_OPEN_COMMAND == null) { 90 90 // StaticStrings.LINUX_OPEN_COMMAND not set yet: if we never tried to 91 // work out the default linux file launch command yet, then we'll test92 // whether any known linux open command is available on this linux.91 // work out the default linux file launch command yet, then we'll now 92 // test whether any known linux open command is available on this linux. 93 93 94 94 // xdg-open comes pre-installed on Ubuntu linux, but not on all linux … … 110 110 111 111 // either we have a default linux open command or not 112 // If we don't, set it to empty, so we don't workout113 // linux value for each file extension (for each time114 // FileAssociationManager is called) hereafter.112 // If we don't, set it to empty, so we don't try working out 113 // the linux open command value for each file extension (for 114 // each iteration of the FileAssociationManager loop) hereafter. 115 115 if(StaticStrings.LINUX_OPEN_COMMAND == null) { 116 116 StaticStrings.LINUX_OPEN_COMMAND = ""; 117 117 } 118 118 } 119 // else StaticStrings.LINUX_OPEN_COMMAND = ""; which means 120 // we could never work out a feasible file open command onthis linux119 // else StaticStrings.LINUX_OPEN_COMMAND = ""; which means at some point 120 // we'd tried but failed to work out a feasible file open command for this linux 121 121 } 122 122 }
Note:
See TracChangeset
for help on using the changeset viewer.