gnustep-dev
[Top][All Lists]
Advanced

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

Re: NSMovieDirectory


From: alex
Subject: Re: NSMovieDirectory
Date: Sat, 12 Mar 2016 09:27:23 +0100

Hello,
I write because I want to say thanks to both, Riccardo and Bertrand, for the work you are doing with GWorkspace to support the RikIcons project for the RikTheme. This work is improving the overall experience with GWorkspace and GNUstep in general and it also indirectly fixed some bugs in some of the rik drawing stuff, like the NSTabView drawing that now is finally fixed and works very fine. Thanks again.

Also, I asked for copyright assignment with suggestion by Ivan. I will go to learn more than I know right now, with Ivan in the free time, gui an back and I’ll try to work sending patches to be reviewed and to improve them and GNUstep in general, helping the community. The goal is to improve my skills with -gui and complete the work for GNUstep bindings started with Fred when he was here, when I wrote a little use case app to see and work on the actual GNUstep bindings situation, and helped Fred testing the new code; after that the GNUstep bindings is almost working at all. However is still soon to talk (for me) of that work.

I hope this is the right place to ask question if I need to know and learn internal framework bits.
Il giorno 11 mar 2016, alle ore 16:04, Riccardo Mottola <address@hidden> ha scritto:

Hi,

let me sum up what I did, because this input spawned a lot of work!

Bertrand Dekoninck wrote:
But the NSMoviesDirectory is lacking.

Should I try to add it to base or to NSWorkspace.m as NSMusicDirectory is already ?

I added support for NSMoviesDirectory. It has to be called Videos, the name is fixed as other directories. Videos seems also the most common name (windows included). The name is of course NSMoviesDirectory, because we retain code compatibility with Cocoa!
Thematic was quickly updated too.

Base and Gui were updated to handle Images, Movies and other folders more compliant to 10.6/10.8 with the correct functions, instead of being "hacked in" as before. Some of these were written in GNUstep when we only had certain 10.4 functions, so the code was some kind of hybrid.

Testing the code on Mac with Bertrand, showed that Mac tries to be very smart with symlinks and I tried to implement that.
The "original" image is alwas retrieved. So if a folder is either a direct symlink to a special fodler or inside a sylinked folder, the special folder icon is returned by [NSWorkspace iconForFile]

Added to that, I adapted and cleaned up GWorkspace to keepup with this and handle symlinks, including displaying them
GWorkspace attempts also a crude localization attempt, which in simple cases seems to work decently, but might have sideffects in trnslating unwanted stuff.

Thus I think we have a pretty decent situation now, let's settle the dust a bit and see if everything works fine.
We don't try to do any smartness with existing folders, freedesktop, already translated folder or such, but at least we are consistent with ourselve sand a "clean" GNUstep environment should work.

Riccardo

PS: wouldn't it be nice if Open and Save panel displayed their special folder icons too?

I think yes.



_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Alex.


reply via email to

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