diff options
author | Havoc Pennington <hp@pobox.com> | 2002-10-04 02:59:07 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-10-04 02:59:07 +0000 |
commit | 7b0cd87838b790394c2168234559ba0cf15dfe0b (patch) | |
tree | d6308b18896bc5b701ce9a76ca0b6551ba09075c /src/themes | |
parent | 7641c6f95200fdd23b75e85481b23219d950b337 (diff) | |
download | metacity-7b0cd87838b790394c2168234559ba0cf15dfe0b.tar.gz |
only specify the middle backgrounds, let left/right fall back to middle
2002-10-03 Havoc Pennington <hp@pobox.com>
* src/themes/Esco/metacity-theme-1.xml: only specify the
middle backgrounds, let left/right fall back to middle
* src/theme.c (get_button): fall back to middle_background draw
routines when missing the left/right button backgrounds.
(button_rect): fix to handle drawing middle button backgrounds
(meta_frame_style_draw): draw middle background once per middle
button
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/Esco/metacity-theme-1.xml | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/themes/Esco/metacity-theme-1.xml b/src/themes/Esco/metacity-theme-1.xml index 87ff8a70..11047df1 100644 --- a/src/themes/Esco/metacity-theme-1.xml +++ b/src/themes/Esco/metacity-theme-1.xml @@ -467,18 +467,10 @@ <!-- we don't specify for normal or prelight, so nothing is used for those --> - <button function="left_left_background" state="pressed" - draw_ops="button_pressed_bg"/> <button function="left_middle_background" state="pressed" draw_ops="button_pressed_bg"/> - <button function="left_right_background" state="pressed" - draw_ops="button_pressed_bg"/> - <button function="right_left_background" state="pressed" - draw_ops="button_pressed_bg"/> <button function="right_middle_background" state="pressed" draw_ops="button_pressed_bg"/> - <button function="right_right_background" state="pressed" - draw_ops="button_pressed_bg"/> <button function="menu" state="normal" draw_ops="menu_button"/> @@ -506,18 +498,10 @@ <piece position="title" draw_ops="title_focused"/> <!-- we don't specify for prelight, so normal is used --> - <button function="left_left_background" state="normal" - draw_ops="button_normal_bg"/> <button function="left_middle_background" state="normal" draw_ops="button_normal_bg"/> - <button function="left_right_background" state="normal" - draw_ops="button_normal_bg"/> - <button function="right_left_background" state="normal" - draw_ops="button_normal_bg"/> <button function="right_middle_background" state="normal" draw_ops="button_normal_bg"/> - <button function="right_right_background" state="normal" - draw_ops="button_normal_bg"/> <button function="close" state="normal" draw_ops="close_button_focused"/> <button function="menu" state="normal" draw_ops="menu_button_focused"/> |