Revision 9211
trunk/frameworks/_fwAndami/src/com/iver/andami/Launcher.java | ||
---|---|---|
366 | 366 |
Theme theme=new Theme(); |
367 | 367 |
String name=PluginServices.getArgumentByName("andamiTheme"); |
368 | 368 |
//File file=new File("theme/andami-theme.xml"); |
369 |
if (name==null) |
|
370 |
return theme; |
|
371 |
File file=new File(name); |
|
369 |
File file; |
|
370 |
if (name==null){ |
|
371 |
file=new File("theme/andami-theme.xml"); |
|
372 |
}else{ |
|
373 |
file=new File(name); |
|
374 |
} |
|
375 |
|
|
372 | 376 |
if (file.exists()) { |
373 | 377 |
theme.readTheme(file); |
374 | 378 |
} |
Also available in: Unified diff