About customizing Squeak -> the title of the world menu?

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

About customizing Squeak -> the title of the world menu?

Hannes Hirzel
Hello

a third issue today about customizing Squeak. The world menu has a
title and this is given in

      Preferences desktopMenuTitle

This is called in

      PasteUpMorph openWorldMenu


However the source code in  #desktopMenuTitle is from the year 2000 and it says


    desktopMenuTitle
        "Answer the title to be used for the 'meta menu'.  For now, you can
hard-code this,
         later someone should make this be a parameter the user can
easily change.
         sw 9/6/2000"

        ^ 'World'    "This is what it has always been"

        "^ 'Desktop'
        ^ 'Squeak'
        ^ 'Mike''s Control Panel'"


How could a solution look like to make it possible for a user to
easily change this parameter on a per project or per project type
bases?

Regards

--Hannes

Reply | Threaded
Open this post in threaded view
|

Re: About customizing Squeak -> the title of the world menu?

Hannes Hirzel
One solution is to have some notes in the help system about
customizing Squeak. In this case the user would need to be told to
alter the method

For example to set it to something like

Preferences desktopMenuTitle
        "Answer the title to be used for the 'meta menu'.
        ^ 'Project: ', Project current name



On 2/24/18, H. Hirzel <[hidden email]> wrote:

> Hello
>
> a third issue today about customizing Squeak. The world menu has a
> title and this is given in
>
>       Preferences desktopMenuTitle
>
> This is called in
>
>       PasteUpMorph openWorldMenu
>
>
> However the source code in  #desktopMenuTitle is from the year 2000 and it
> says
>
>
>     desktopMenuTitle
> "Answer the title to be used for the 'meta menu'.  For now, you can
> hard-code this,
>          later someone should make this be a parameter the user can
> easily change.
>          sw 9/6/2000"
>
> ^ 'World'    "This is what it has always been"
>
> "^ 'Desktop'
> ^ 'Squeak'
> ^ 'Mike''s Control Panel'"
>
>
> How could a solution look like to make it possible for a user to
> easily change this parameter on a per project or per project type
> bases?
>
> Regards
>
> --Hannes
>