Thanks Terry and Ed, this got me looking in the right area, somehow when I 
did the update to the Enthought Python distribution, I ended up leaving my 
startup shortcut pointing to the old distribution.  Set it over to the new 
one and Leo has all its icons again.

While getting to this I tried Terry's suggestion, tried "print val" and 
started from console2, (basically Windows 'dos' wrapped), no output noted. 
 Then I put in "g.es(val)" and got log pane output.  Thought I was missing 
stdout logging, just checked and saw I was calling 'pythonw.exe', which 
apparently does not use a stdout stream.

Anyway, thanks again.

On Tuesday, January 15, 2013 5:52:50 PM UTC-5, Terry wrote:
>
> On Tue, 15 Jan 2013 09:42:09 -0800 (PST) 
> tfer <[email protected] <javascript:>> wrote: 
>
> > Yes, I meant the icon box.  I wonder what is breaking this for me. 
> Quickly 
> > updated to latest, still missing icon box, just the open/collapse 
> triangles 
> > present.  Todo icons work. 
>
> This is really weird, because I just looked at the code and it's as I 
> remembered, getCompositeIconImage() builds a caches images with the 
> todo icons and the icon box joined together. 
>
> tfer - you could add the line "print val" at the top of that function 
> (it has only one unique definition in the codebase), and see what kind 
> of output you get.  It should be a lot of numbers from 0 to 15, 
> depending on the status of each node. 
>
> Also check that .../leo/Icons/box00.GIF ... .../leo/Icons/box15.GIF 
> exist in your distro. 
>
> Ha, there's a difference, the todo icons are .png, not .gif, so if 
> somehow your distro stopped supporting gifs, that could explain it. 
>
> Seeing technically .gifs are somehow license encumbered, or did that 
> get dropped?, I guess we could switch to using .pngs.  A really purist 
> distro might not support .gifs, although that's hard to believe. 
>
> Cheers -Terry 
>
> > Leo Log Window 
> > 
> > Leo 4.11 devel, build 5568, 2013-01-15 12:30:53 
> > 
> > Python 2.7.2, qt version 4.7.4 
> > Windows 6, 1, 7601, 2, Service Pack 1 
> > 
> > 
> > Is there some Python/qt problem with these versions?  I'm using 
> enthoughts 
> > Python distribution, (the free one), which I did upgrade a while back, 
> > can't remember if that is when this started. 
> > 
> > 
> > Is there some setting that might effect this. 
> > 
> > 
> > Tom 
> > 
> > On Tuesday, January 15, 2013 11:25:50 AM UTC-5, Edward K. Ream wrote: 
> > > 
> > > On Tue, Dec 11, 2012 at 5:33 AM, tfer 
> > > <[email protected]<javascript:>>wrote: 
> > > 
> > >> I don't get the boxes that used to be to the left of each headline, 
> are 
> > >> they still supposed to be there? 
> > > 
> > > 
> > > Are you talking about the icon box?  It should always be there. 
> > > 
> > > User-supplied icons also work for me.  Iirc, some icons may have been 
> > > removed from the distro, which might affect you.  However: 
> > > 
> > > 1. The todo plugin works as expected. 
> > > 
> > > 2. The following script inserts a (persistent) icon: 
> > > 
> > >     fn = g.os_path_finalize_join(g.app.loadDir, 
> > >         '..','Icons','Tango','16x16','status','error.png') 
> > >     c.editCommands.insertIconFromFile(path=fn) 
> > >     c.bodyWantsFocusNow() 
> > > 
> > > 3. The insert-icon command works. 
> > > 
> > > HTH. 
> > > 
> > > Edward 
> > > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/A_hifnnjzSgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to