A new version of Sugar was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Sugar-gd.24.mcz==================== Summary ====================
Name: Sugar-gd.24
Author: gd
Time: 17 January 2014, 5:44:49 pm
UUID: 53ed6bad-092f-44a3-87e1-a0ab289ae836
Ancestors: Sugar-kfr.23
Read gconf.xml new format. (SQ-1200)
=============== Diff against Sugar-kfr.23 ===============
Item was changed:
----- Method: SugarLauncher>>gconfPropertiesAt: (in category 'gconf') -----
gconfPropertiesAt: aString
| dir |
"search up tree to guess home dir"
dir := Project squeakletDirectory.
[dir pathName = '/'] whileFalse: [
dir := dir containingDirectory.
[FileStream
readOnlyFileNamed: dir pathName, '/.gconf', aString, '/%gconf.xml'
do: [:f |
| props |
props := Dictionary new.
(XMLDOMParser parseDocumentFrom: f)
tagsNamed: #entry do: [:entry |
props at: (entry attributeAt: 'name')
+ put: (entry attributeAt: 'value'
+ ifAbsent: [entry elements first contentString])].
- put: entry elements first contentString].
^props].
] on: FileDoesNotExistException do: [:ignore | ].
].
^self error: 'cannot find gconf path ', aString!
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev