theme: Add background functions for single buttons

With the existing background functions, single buttons can not be
styled separately - on the left side, the style of the left button
is picked, and the right button's style on the right side.

As theme authors may want to add rounded corners to button groups
as a whole, it makes sense to treat the case of a single button in
a group differently.

https://bugzilla.gnome.org/show_bug.cgi?id=635683
This commit is contained in:
Florian Müllner
2010-12-03 01:14:13 +01:00
parent 4bc8c70c75
commit 0a2bb1b71c
4 changed files with 51 additions and 7 deletions

View File

@@ -22,6 +22,12 @@ This document has separate sections for each format version. You may
want to read the document in reverse order, since the base features
are discussed under version 1.
New Features in Theme Format Version 3.3
========================================
Add two additional button background functions - left_single_background and
right_single_background - for button groups with just a single button.
New Features in Theme Format Version 3.2
========================================