Improving update procedure.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-08-11 13:36:44 +00:00
parent a670787ef3
commit da2c24287a

View File

@ -478,12 +478,11 @@ GrafoscopioDockingBar class >> updateDatavizUI [
{ #category : #updating } { #category : #updating }
GrafoscopioDockingBar class >> updateGrafoscopio [ GrafoscopioDockingBar class >> updateGrafoscopio [
"Updates Grafoscopio with new versions of itself take from the source code repository and "Updates Grafoscopio with new versions of itself take from the source code repository and
the User Interface" reloads the User Interface"
Gofer new Gofer new
smalltalkhubUser: 'Offray' project: 'Grafoscopio'; smalltalkhubUser: 'Offray' project: 'Grafoscopio';
package: 'Grafoscopio'; package: 'Grafoscopio';
load. load.
self updateUI.
] ]
{ #category : #updating } { #category : #updating }
@ -497,6 +496,8 @@ GrafoscopioDockingBar class >> updateGrafoscopioUI [
label: 'Grafoscopio update'). label: 'Grafoscopio update').
update ifFalse: [ ^ self ]. update ifFalse: [ ^ self ].
self updateGrafoscopio. self updateGrafoscopio.
GrafoscopioUtils update.
self updateUI.
self inform: 'Grafoscopio update finished' self inform: 'Grafoscopio update finished'
] ]