Issue 6305 in pharo: StartupPreferences "run once" broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 6305 in pharo: StartupPreferences "run once" broken

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Bug Milestone-1.4

New issue 6305 by [hidden email]: StartupPreferences "run once"  
broken
http://code.google.com/p/pharo/issues/detail?id=6305

Pharo1.4
Latest update: #14451

Slice incoming...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6305 in pharo: StartupPreferences "run once" broken

pharo
Updates:
        Status: FixReviewNeeded

Comment #1 on issue 6305 by [hidden email]: StartupPreferences "run  
once" broken
http://code.google.com/p/pharo/issues/detail?id=6305

Fix in inbox:  
SLICE-Issue-6305-StartupPreferences-run-once-broken-SeanDeNigris.1

Port StartupAction>>execute from Pharo 2.0, which seems to be working.

Manually tested in 1.4 with:
        | item1 item2 |
        item1 := StartupAction name: 'Open Help' code: 'Workspace  
openContents: ''Here is just an example of how to use the StartupLoader.
I should only be displayed once.
       
  You can also see StartupLoader class>>#example'' label: ''Help''' runOnce:  
true.
        item2 := StartupAction name: 'Open Workspace' code:  [ Workspace  
openContents: 'I should be displayed each time' ].
" StartupLoader default addAtStartup: {item1. item2}."
        FileLocator imageDirectory ensureDirectory / StartupLoader default  
startupScriptName fileStreamDo: [ :str |
                str nextPutAll: (StartupLoader default buildStreamFor: {item1. item2}) ].
       
        StartupLoader default loadStartupScript.
        StartupLoader default loadStartupScript.
       


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6305 in pharo: StartupPreferences "run once" broken

pharo

Comment #2 on issue 6305 by marianopeck: StartupPreferences "run once"  
broken
http://code.google.com/p/pharo/issues/detail?id=6305

this was broken and I fixed  it in 2.0 as part of my improvements. And yes,  
the new #execute is correct. I will check the slice later, have to go now.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6305 in pharo: StartupPreferences "run once" broken

pharo
Updates:
        Status: FixToInclude

Comment #3 on issue 6305 by marianopeck: StartupPreferences "run once"  
broken
http://code.google.com/p/pharo/issues/detail?id=6305

the slice looks ok


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6305 in pharo: StartupPreferences "run once" broken

pharo
Updates:
        Status: Integrated

Comment #4 on issue 6305 by [hidden email]: StartupPreferences "run  
once" broken
http://code.google.com/p/pharo/issues/detail?id=6305

in 14452


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker