Mercurial > projects > mde
comparison mde/setup/Init.d @ 101:71f0f1f83620
Some path adjustments for windows (untested) and fonts. All types of option can be edited.
paths: support for getting the full path for a font when just the file name is entered, in order to unify usage on windows and linux.
paths: Used getSpecialPath for some windows paths; needs testing.
Content: Moved line-editing code to abstract ValueContent class and added some conversion functions, so that any type of ValueContent can be edited as text.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 16 Nov 2008 17:03:47 +0000 |
parents | 49e7cfed4b34 |
children | ba035eba07b4 |
comparison
equal
deleted
inserted
replaced
100:0ea4a3e651ae | 101:71f0f1f83620 |
---|---|
117 try { | 117 try { |
118 if (args.contains("data-path")) | 118 if (args.contains("data-path")) |
119 paths.extraDataPath = args["data-path"]; | 119 paths.extraDataPath = args["data-path"]; |
120 if (args.contains("conf-path")) | 120 if (args.contains("conf-path")) |
121 paths.extraConfPath = args["conf-path"]; | 121 paths.extraConfPath = args["conf-path"]; |
122 | |
122 if (args.contains("base-path")) | 123 if (args.contains("base-path")) |
123 paths.resolvePaths (args["base-path"]); | 124 paths.resolvePaths (args["base-path"]); |
124 else | 125 else |
125 paths.resolvePaths(); | 126 paths.resolvePaths(); |
126 } catch (Exception e) { | 127 } catch (Exception e) { |