ASF Bugzilla – Attachment 23541 Details for
Bug 47064
Use System default Look And Feel (especially Feel)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to work with os.name = "linux"
proposal_patch_update_47064.txt (text/plain), 838 bytes, created by
Milamber
on 2009-04-24 13:36:52 UTC
(
hide
)
Description:
Patch to work with os.name = "linux"
Filename:
MIME Type:
Creator:
Milamber
Created:
2009-04-24 13:36:52 UTC
Size:
838 bytes
patch
obsolete
>Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/gui/action/LookAndFeelCommand.java >=================================================================== >--- /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/gui/action/LookAndFeelCommand.java (revision 768370) >+++ /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/gui/action/LookAndFeelCommand.java (working copy) >@@ -73,8 +73,8 @@ > if (laf != null) { > return laf; > } >- String osFamily = osName.substring(0, osName.indexOf(' '));// e.g. windows xp => windows >- laf = JMeterUtils.getProperty(JMETER_LAF+"."+osFamily); >+ String[] osFamily = osName.split("\\s"); // e.g. windows xp => windows >+ laf = JMeterUtils.getProperty(JMETER_LAF+"."+osFamily[0]); > if (laf != null) { > return laf; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47064
:
23522
| 23541