Thanks :-)
So, if I have the following code in a message:
============================================
saveToFile
"Saves the current tree to a file"
| file writeStream markdownFile |
file := UITheme builder
fileSave: 'Guardar archivo como...'
extensions: #('ston')
path: nil.
file ifNil: [ self inform: 'Exportación cancelada'. ^ self ].
writeStream := file writeStream.
workingFile := writeStream name asFileReference.
markdownFile := (workingFile parent) / (workingFile
basenameWithoutExtension, '.markdown').
[ self exportAsSton: mainTree on: writeStream.
self exportAsMarkdown: mainTree on: markdownFile ]
ensure: [ writeStream ifNotNil: #close ].
browser update.
============================================
and I use the saveToFile message to rename the current file, and that
name is showed in the title of a GT browser window, the name should
change with the last line (browser update)?
If that is not intended behaviour, how can I change the title of a GT
browser window if this is taken from a file name that is saved (inside
Moose) with a different name?
Cheers,
Offray
El 07/01/15 a las 16:00, Tudor Girba escribió:
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev