discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GWorkspace.app Feature Request-- Tabbed Shelf


From: Fred Kiefer
Subject: Re: GWorkspace.app Feature Request-- Tabbed Shelf
Date: Wed, 25 Jun 2003 00:55:28 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204

Hi Nicolas,

this doesn't sound like an evil hack, rather like a very nice idea that should make it into NSWorkspace. Please clean up that code and commit it.

Fred

Nicolas Roard wrote:
On 2003-06-23 21:50:52 +0000 Eric Christopherson <rakko@charter.net> wrote:

On Mon, Jun 23, 2003 at 07:53:32PM +0100, Nicolas Roard wrote:

On 2003-06-22 23:45:55 +0000 Enrico Sersale <enrico@dtedu.net> wrote:

Two question: in the screenshot there is a file viewer that uses a browser >with icons in the matrix cells; is it my browser with "styleMask |= >GWIconCellsMask" or something else? And I see that you have icons of .jpg >files that show a preview of the image. How do you get this?


Well that was a small hack on NSApplication, to return a cached thumbnail (same principle as .xvpics) instead of the standard icon if it existed. I'm not sure it was better to modify NSApplication instead of only GWorkspace icon view... there was an advantage though, the image was shown everywhere (i.e, dnd the
image on the panel show the image on the panel, which is quite cool).
The idea was to have a service to generate thoses cached thumbnails, or perhaps modifying GWorkspace to do that automatically, but I didn't had the time... so... :-)


Cool stuff! What about the icons in browser view? Did you hack that as well?


Well no, the interesst off that approach is that it was automatic, as the GW's browser view call iconForFile of NSWorkspace (hm ? toh ! please s/NSApplication/NSWorkspace in my previous mail). As my panel just call iconForFile too, a modification of NSWorkspace
bring the thumbnail for every application.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]