Hi,

Can you check that the latest moose version fixes you issue.

Cheers,
Andrei


On Tue, Mar 24, 2015 at 1:08 AM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Not sure how it was on moose 5.0.
Things changed. We'll fix it until the release.


Cheers,
Andrei

On Tue, Mar 24, 2015 at 1:07 AM, Offray Vladimir Luna Cárdenas <offray@riseup.net> wrote:
Do you mean that between 5.1 and 5.0 it became hardcoded? Previously it just was a matter of naming methods on the GrafoscopioNode object the same that the playground was expecting to get (#title and #content) and I can get playgrounds named as I want. Why this became hardcoded?

Cheers,

Offray

El 23/03/15 a las 18:47, Andrei Chis escribió:
Right now 'Untitled' is kind of hardcoded.
We should make it configurable.

Cheers,
Andrei

On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna Cárdenas
<offray@riseup.net <mailto:offray@riseup.net>> wrote:

     Hi,

     Because Pharo 4 is getting closer and I can see already improvements on
     shortcuts (Ctrl and Alt are switched finally and we have consistent
     behaviour between apps in Linux), I'm moving to moose 5.1 as my base
     platform for the development of grafoscopio. So far, so good, but I would
     like some of the behaviours on 5.0 back on 5.1, like the way to embed
     playgrounds with named nodes.

     So here is the screenshot of grafoscopio with a code type node open inside
     an interactive document running on Moose 5.0:

     http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png
     <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png>

     And here is the same interactive document open on Moose 5.1:

     http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png
     <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png>

     As you can see, in the first screenshot, the playground takes the same name
     of the node that is storing its contents, while the second one has just
     "Untitled" as title.

     My code for embedding playgrounds is

     ==============================__==========
     GrafoscopioBrowser>>__bodyForCodeIn: constructor for: aNode
              "Shows the body of a node as an interactive playground. If node is
     not tagged it will return itself,
               so it can be rendered properly for other messages"

              | innerBrowser |

              aNode tags = 'código'
                      ifFalse: [^self].

              innerBrowser := GTPlayground new.
              constructor custom: innerBrowser.
     ==============================__==========

     How the code needs to be changed so I can get named playgrounds as was
     happening with 5.0.

     Cheers and keep the good work.

     Offray

     _________________________________________________
     Moose-dev mailing list
     Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
     https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
     <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev