[maemo-developers] [maemo-developers] playing with themes

From: Tommi Komulainen tommi.komulainen at nokia.com
Date: Wed Jun 1 19:08:51 EEST 2005
On Sat, 2005-05-28 at 00:12 +0300, ext Aleksandr Koltsoff wrote:
> the mailing list seems to be quiet today, so I'll put something in at 
> least :-).
> 
> wanted to see how simple it is to do something about the graphics.
> 
> it's not very easy :-).
> 
> http://koltsoff.fi/770/bug-cap11.png

Cute :)


> Anyhow, I'm pretty sure there is a better way of "doing themes" than going and 
> replacing the respective image files, but since there seems to be no info 
> (yet), I tried playing around a bit.

Actually theming is all about choosing the right images.  Creating a
theme from scratch with all the drawing and gtkrc writing is a huge job,
so copypasting (and thus replacing images) is probably much easier to
begin with.

However, instead of replacing the images for the 'default' theme you
should copy it and then modify the copy.

There are some rules regarding how the image file dimensions and the
'border' definitions in the gtkrc are related, and in some cases there
an additional more or less hardcoded dependency or assumption in the
code as well.  Again it's easier to modify only the images, but feel
free to experiment.


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>

More information about the maemo-developers mailing list