summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorGarrett LeSage <garrett@src.gnome.org>2003-06-09 18:56:28 +0000
committerGarrett LeSage <garrett@src.gnome.org>2003-06-09 18:56:28 +0000
commitc523d2827c420b410437574e076a35f97477d878 (patch)
tree7a21764b682d9ef7239b3c4f8f2874d2e3a6d04a /src/themes
parenta53fea96ab0fc3676e6142268874f082c7d30f9e (diff)
downloadmetacity-c523d2827c420b410437574e076a35f97477d878.tar.gz
metacity-c523d2827c420b410437574e076a35f97477d878.tar.bz2
Applying a fix for the "X" (close button) from Joe A. <joefefifo@yahoo.com>
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/Metabox/metacity-theme-1.xml35
1 files changed, 22 insertions, 13 deletions
diff --git a/src/themes/Metabox/metacity-theme-1.xml b/src/themes/Metabox/metacity-theme-1.xml
index 9c47304..ac90a3f 100644
--- a/src/themes/Metabox/metacity-theme-1.xml
+++ b/src/themes/Metabox/metacity-theme-1.xml
@@ -2,7 +2,7 @@
<metacity_theme>
<info>
<name>Metabox</name>
- <author>Garrett LeSage &lt;garrett@redhat.com&lt; based on Havoc Pennington &lt;hp@redhat.com&gt;'s Atlanta theme</author>
+ <author>Garrett LeSage &lt;garrett@redhat.com&gt; based on Havoc Pennington &lt;hp@redhat.com&gt;'s Atlanta theme</author>
<copyright>&#194; Garrett LeSage, Havoc Pennington, 2002</copyright>
<date>Jun 12, 2002</date>
<description>Looks a little like BlackBox.</description>
@@ -246,15 +246,20 @@
</draw_ops>
<draw_ops name="close_button">
- <include name="bg_button_active"/>
- <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
- width="2"
+ <include name="bg_button_active"/>
+ <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt; -->
+ <clip x="ButtonIPad" y="ButtonIPad"
+ width="width - ButtonIPad - 4"
+ height="height - ButtonIPad - 4"/>
+ <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
+ width="2"
x1="ButtonIPad" y1="ButtonIPad"
- x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"/>
- <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
+ x2="width - ButtonIPad" y2="height - ButtonIPad"/>
+
+ <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
width="2"
- x1="ButtonIPad" y1="height - ButtonIPad - 1"
- x2="width - ButtonIPad - 1" y2="ButtonIPad"/>
+ x1="ButtonIPad" y1="height - ButtonIPad - 1"
+ x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
</draw_ops>
<draw_ops name="close_button_pressed">
@@ -268,15 +273,19 @@
</draw_ops>
<draw_ops name="close_button_unfocused">
- <include name="bg_button_inactive"/>
- <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
+ <include name="bg_button_inactive"/>
+ <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt; -->
+ <clip x="ButtonIPad" y="ButtonIPad"
+ width="width - ButtonIPad - 4"
+ height="height - ButtonIPad - 4"/>
+ <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
width="2"
x1="ButtonIPad" y1="ButtonIPad"
- x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"/>
- <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
+ x2="width - ButtonIPad" y2="height - ButtonIPad"/>
+ <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
width="2"
x1="ButtonIPad" y1="height - ButtonIPad - 1"
- x2="width - ButtonIPad - 1" y2="ButtonIPad"/>
+ x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
</draw_ops>
<draw_ops name="outer_bevel">