[Aptitude-devel] [PATCH 1 of 5] * src/gtk/gui.cc (gui::init_style): added, parse an RC style for tab close buttons
Daniel Burrows
dburrows at debian.org
Wed Dec 24 21:38:36 UTC 2008
On Wed, Dec 24, 2008 at 03:40:45PM +0100, Luca Bruno <lethalman88 at gmail.com> was heard to say:
> + void init_style(void)
> + {
> + Gtk::RC::parse_string (
> +"style \"tiny-button-style\""
> +"{"
> +" GtkWidget::focus-padding = 0"
> +" xthickness = 0"
> +" ythickness = 0"
> +"}"
> +"widget \"*.main_notebook_packages_close\" style \"tiny-button-style\""
> +"widget \"*.main_notebook_download_close\" style \"tiny-button-style\"");
> + }
> +
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?
Thanks,
Daniel
More information about the Aptitude-devel
mailing list