[Aptitude-devel] [PATCH 1 of 5] * src/gtk/gui.cc (gui::init_style): added, parse an RC style for tab close buttons

Luca Bruno lethalman88 at gmail.com
Thu Dec 25 12:09:09 UTC 2008

On Wed, Dec 24, 2008 at 01:38:36PM -0800, Daniel Burrows wrote:
>   Thanks for the patches, Luca.  For my edification, would you mind
> explaining what this is about?  It *looks* like it's creating a new
> variable that someone (a GTK+ theme?) can override to change how the
> notebook tab buttons look, is that right?

Happy Christmas :)
This is what most of the applications do for making the close button thin.
Try entering with the mouse to the close button and see that with the patch
you can less bevel around the button (see epiphany, empathy, etc.).
Yes an external configuration could change this appearance, but it could
happen also without this. If you copy/paste that string to your .gtkrc.mine
file, it works too ;) So having an RC entry in your application doesn't mean
others can change it, as without it others can change it as well.

Could you please remove "can-focus" for the download_close button too? I
only did that for the packages_close in another patch.

http://syx.googlecode.com - Smalltalk YX
http://lethalman.blogspot.com - Thoughts about computer technologies
http://www.debian.org - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20081225/afb5cb76/attachment.pgp 

More information about the Aptitude-devel mailing list