[Python-bugs-list] IDLE and -t (PR#213)

guido@python.org guido@python.org
Mon, 28 Feb 2000 08:15:02 -0500 (EST)


>  |Not a bug -- IDLE adds * before (and after!) the window title and
>  |icon name to indicate that the window is modified and unsaved.
> 
> The icon name doesn't follow this convention:
> 
>         if not self.get_saved():            
>             title = "*%s*" % title
>             icon = "*%s" % icon
> 
> The reason I took note of this inconsistency is that I was assigning a
> window manager icon to IDLE based on the startup icon string.
> 
>  |Does this bother you in some way?
> 
> Well, no other X app I know of communicates unsaved status by putting '*'s
> in the title and icon, but I don't have a big problem with it.  

Hm, I have to admit that I have given up years ago on configuring X
apps through their app name.  Is that still a common practice?  I could
certainly change things around so that the title and icon are always "idle:
*file*" or "idle: file" depending on saved status.

> I do think the icon should have a '*' both before "and after", as you
> described though.  I'm guessing this was just a typo.

I think it was intentional, trying to save some space in the icon
label.  Not worth it, probably.

--Guido van Rossum (home page: http://www.python.org/~guido/)