From 4af5f63fee5883bd41ceb3c4978b2ef90481a721 Mon Sep 17 00:00:00 2001 From: OffrayLuna Date: Tue, 18 Oct 2016 17:10:40 +0000 Subject: [PATCH] Improving documentation installation. --- src/Grafoscopio/GrafoscopioGUI.class.st | 8 ++++---- src/Grafoscopio/GrafoscopioNotebook.class.st | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Grafoscopio/GrafoscopioGUI.class.st b/src/Grafoscopio/GrafoscopioGUI.class.st index ec81918..952ff41 100644 --- a/src/Grafoscopio/GrafoscopioGUI.class.st +++ b/src/Grafoscopio/GrafoscopioGUI.class.st @@ -351,15 +351,15 @@ GrafoscopioGUI class >> messageNoRecentDocuments [ "Shows that a feature is not implemeted and point to further documentation on the web" UIManager default abort: - 'No hay documentos recientes.', + 'Recent documents list is emtpy.', (String with: Character cr), - 'Abra un documento usando el menĂº:', + 'To fill it, open a document using the top bar menu option:', (String with: Character cr), (String with: Character cr), - '"Lanzar > Documento interactivo desde archivo"', + '"Launch > Notebook from file"', (String with: Character cr), (String with: Character cr) - title: 'No hay documentos recientes'. + title: 'No recent documents'. ] { #category : #'graphical interface' } diff --git a/src/Grafoscopio/GrafoscopioNotebook.class.st b/src/Grafoscopio/GrafoscopioNotebook.class.st index a5ccdbc..cd34477 100644 --- a/src/Grafoscopio/GrafoscopioNotebook.class.st +++ b/src/Grafoscopio/GrafoscopioNotebook.class.st @@ -379,7 +379,8 @@ GrafoscopioNotebook >> openFromFileSelector [ ^ self ]. self workingFile: fileStream name asFileReference. nb := self class new. - nb openFromFile: self workingFile. + nb openFromFile: self workingFile. + GrafoscopioGUI updateRecentNotebooksWith: workingFile ] { #category : #persistence }