[PATCH] svg theming on the pager

Marco Martin notmart at gmail.com
Fri May 9 20:43:17 CEST 2008


Hi all,
the last bit in the default panel that wasn't themeable with cute svgs was the 
pager, so i've added the support for loading an svg theme (it will still 
fallback to normal rendering if the svg or an svg element is not found), and 
with a theme done with nuno it's how it looks like:
http://img110.imageshack.us/my.php?image=pager1mw3.png
in the screenshot the active desktop is the second and the mouse is over the 
third

taking with nuno on how it should be to really look good some points had 
emerged (that will need an agreement :)
it should look as less cluttered as possible, since it will fill with many 
micro windows that looks very busy, nothing should be added to that, so:
 * desktop number/name will appear only on mouse over (maybe even animate in 
the future)
 * window icons disabled by default

the panel should be less tall to make the task icons exactly the same size of 
the systray icons (it should need a separate discussion :)
so the pager if has two lines the mini desktops are really too mini and if it 
takes one row they becomes too big and takes up a big amount of the panel.
so some margin is added, used to draw the background similar to the other 
themed applets (like the systray in the screenshot) that both makes coherence 
with other applets and makes the pager of just the right size (tm) to make a 
single line pager tat looks  i was also thinking about disabling the 
background and the margins if the size of the mini desktops becomes too 
little

how it seems? comments on the various points?

Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pagertheme.diff
Type: text/x-diff
Size: 8641 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080509/907ccc06/attachment.bin 


More information about the Panel-devel mailing list