I've published 3 packages in Lukas' repo about this. In the version
loaded in Pharo, the browser did never update its title. Now it works,
even if the Polymorph task bar is not updated.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
>
> On Wed, Aug 19, 2009 at 8:29 PM, Damien
> Cassou<damien...@gmail.com> wrote:
>> Here I'm proposing a really small change to the class browser so that
>> whenever a class or method is selected it's title is changed
>> accordingly. The title produced is such that you can distinguish the
>> browsers when looking at the taskbar (very usefull when you have many
>> browsers opened). In case you like it, it would be nice to have it
>> included in main pharo.
>
> I've published 3 packages in Lukas' repo about this. In the version
> loaded in Pharo, the browser did never update its title. Now it works,
> even if the Polymorph task bar is not updated.
This was the result of a bug. I'm not sure when it was introduced, but
it was in OB 2.0.2. Lukas also published a fix, which will be included
in OB 2.0.3. I prefer Lukas' fix over this one because it restore's
OB's original title-updating functionality, rather than introduces a
new announcement.
The main difference between the original behavior and Javier Pimas'
fix (this is Javier's code, right?) is that Javier displays the
selected method category as well as the class name, where as OB and
the original Squeak Browser have traditionally only displayed the
selected class. I tend to like having just the class name in the
window title myself - less clutter in the title bar. Does anybody else
have an opinion here?
Colin
As far as I can tell, Lukas' fix also adds 'System Browser' at the
beginning of the title which is not the case of the other fix. The
string 'System Browser' is quite annoying in the task bar because you
are interested in the class and/or method name and you only see
'System Brows...'