discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Theming icons : questions


From: Bertrand Dekoninck
Subject: Re: Theming icons : questions
Date: Mon, 21 Dec 2015 22:32:22 +0100
User-agent: Mozilla/5.0 (X11; Linux ppc64; rv:31.0) Gecko/20100101 Icedove/31.5.0

Le 21/12/2015 00:46, Riccardo Mottola a écrit :
Hi,

AppIcons are themable with the method you discovered from Tango. It was
implemented during Dublin by Richard and Tango is the first usage. I
envision a whole icon package, so the feel of several apps can be made
consistent together. I see that I am not the only one feeling like this.

Yes I am :-) Thanks for the time you did spend on answering me.


To be able to fully use the Tango theme, you need both current SVN for
gui and GWorkspace, since I fixed the code to make certain icons
themable. But I haven't worked on all of them.


- How should I name these icons ? I've tried for now to reproduce the
naming used in the Tango theme : I've created an
"org.gnustep.GWorkspace/Recycler" folder in my tree and I've put the
Recycler Icon in it. Should I create as well an
"org.gnustep.FSNode.HardDisk" folder with the HardDisk.tiff icon inside ?

If I remember correctly, the disk icon of GWorkspace comes from the
common system images. We only have one icon, there is not distinction
between hard disk, usb keys and optical disks. It would be eye candy,
but I don't know how to do that right now in a cross-platform way..
Perhaps CDs could be recognized by getting information about the
filesystem.

Maybe there is some confusion here. What I'm talking is the icon for mounted drives. There isn't any "HardDrive.tiff" in ..../GNUstep/Images where common system images are. There is one in FSNode.framework which is used by GWorkspace.

I've tried to theme this icon using the prefix org.gnustep.FSNode. It fails. My question was : is "org.gnustep.FSNode" the right name for the folder where the icon would live in the theme ?

I don't understand how you decided to name these folders in Tango, for instance "org.gap.Terminal" or "org.gnustep.GWorkspace.Recycler"...

I've forked rik.theme on github (sorry ;-) ). See https://github.com/BertrandDekoninck/rik.theme.

In it, I can theme SystemPreferences as you did in Tango.theme. I have themed GWorkspace app icon too. But I fail to theme the Terminal icon (as it fails in Tango.theme).



- Shouldn't the HardDisk icon be a system-wide icon available in GUI
(as Recycler.tiff) ?

I think to remember there is. I checked if Apple has a specific name for
it, but couldn't find one, so it is not an official apple named image.


- Is it now possible to theme the icons of mimetypes (a custom pdf
icon used by GSPDF.app...) ?

More than mimetypes, it should be document types for each application. I
haven't investigated yet.
As I haven't investigated (but fear it won't work) for Images in Gorm
files.
Again, the best would be for Gorms to use the Resources and not image
shipped inside gorm files. I already requested this in Gorm and it is
only roughly implemented.


Moreother, there doesn't seem to be a unique place to store the document icons usable by all GS-apps. I've seen this when creating some app_wrappers. Some GS-apps use mimetype suffixes in their plists, other apps use NS types... It does look like a real mess.


Bertrand


Riccardo




reply via email to

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