[gtk-engines/gnome3] shift close icon 1px to the left



commit 9c58bc07ab2a0a96e44f17c9da38109894f9eb76
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Jul 29 11:39:06 2010 +0200

    shift close icon 1px to the left

 themes/GNOME3/metacity-1/metacity-theme-1.xml |   53 +++++++++++++------------
 1 files changed, 27 insertions(+), 26 deletions(-)
---
diff --git a/themes/GNOME3/metacity-1/metacity-theme-1.xml b/themes/GNOME3/metacity-1/metacity-theme-1.xml
index c0728fd..fbb1785 100644
--- a/themes/GNOME3/metacity-1/metacity-theme-1.xml
+++ b/themes/GNOME3/metacity-1/metacity-theme-1.xml
@@ -194,19 +194,19 @@
   <!-- FIXME: replace ButtonPad with height/3 -->
   <!-- Close Buttons -->
 	<draw_ops name="icon_close">	
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) + 1" y1="(width/2.7) + 1" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 1" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7) + 1" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 2" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7) + 2" x2="width-(width/2.7)" y2="height - (width/2.7) + 2" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7) + 1" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7) + 2" x2="width-(width/2.7) + 1" y2="(width/2.7) + 1" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) + 1" y1="height - (width/2.7) + 2" x2="width-(width/2.7) + 1" y2="(width/2.7) + 2" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7) + 1" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) - 1" y1="(width/2.7) + 1" x2="width-(width/2.7)" y2="height - (width/2.7) + 2" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) - 1" y1="(width/2.7) + 2" x2="width-(width/2.7) - 1" y2="height - (width/2.7) + 2" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) - 1" y1="height - (width/2.7) + 1" x2="width-(width/2.7) - 1" y2="(width/2.7) + 1" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7) - 1" y1="height - (width/2.7) + 2" x2="width-(width/2.7)" y2="(width/2.7) + 1" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7) + 2" x2="width-(width/2.7)" y2="(width/2.7) + 2" />
 		
-		<line color="#ffffff" x1="(width/2.7)+1" y1="(width/2.7)" x2="width-(width/2.7) + 1" y2="height - (width/2.7)" />
-		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7)" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 1" />
-		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7)+1" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
-		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7)" x2="width-(width/2.7)" y2="(width/2.7)" />
-		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7) + 1" y2="(width/2.7)" />
-		<line color="#ffffff" x1="(width/2.7)+1" y1="height - (width/2.7) + 1" x2="width-(width/2.7) + 1" y2="(width/2.7)+1" />
+		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7)" x2="width-(width/2.7)" y2="height - (width/2.7)" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="(width/2.7)" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="(width/2.7)+1" x2="width-(width/2.7) - 1" y2="height - (width/2.7) + 1" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="height - (width/2.7)" x2="width-(width/2.7) - 1" y2="(width/2.7)" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7)" />
+		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7)+1" />
 	</draw_ops>
 
 	<draw_ops name="rounded_outer_border">
@@ -250,20 +250,21 @@
   </draw_ops>
 
   <draw_ops name="button_close_unfocused">
-		<line color="#ffffff" x1="(width/2.7)+1" y1="(width/2.7) + 1" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 1" />
-		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7) + 1" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 2" />
-		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7) + 2" x2="width-(width/2.7)" y2="height - (width/2.7) + 2" />
-		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7) + 1" />
-		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7) + 2" x2="width-(width/2.7) + 1" y2="(width/2.7) + 1" />
-		<line color="#ffffff" x1="(width/2.7)+1" y1="height - (width/2.7) + 2" x2="width-(width/2.7) + 1" y2="(width/2.7) + 2" />
-
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)+1" y1="(width/2.7)" x2="width-(width/2.7) + 1" y2="height - (width/2.7)" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7)" x2="width-(width/2.7) + 1" y2="height - (width/2.7) + 1" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7)+1" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7)" x2="width-(width/2.7)" y2="(width/2.7)" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7) + 1" y2="(width/2.7)" />
-		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)+1" y1="height - (width/2.7) + 1" x2="width-(width/2.7) + 1" y2="(width/2.7)+1" />
-
+		<line color="#ffffff" x1="(width/2.7)" y1="(width/2.7) + 1" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="(width/2.7) + 1" x2="width-(width/2.7)" y2="height - (width/2.7) + 2" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="(width/2.7) + 2" x2="width-(width/2.7)-1" y2="height - (width/2.7) + 2" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="height - (width/2.7) + 1" x2="width-(width/2.7)-1" y2="(width/2.7) + 1" />
+		<line color="#ffffff" x1="(width/2.7)-1" y1="height - (width/2.7) + 2" x2="width-(width/2.7)" y2="(width/2.7) + 1" />
+		<line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7) + 2" x2="width-(width/2.7)" y2="(width/2.7) + 2" />
+
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="(width/2.7)" x2="width-(width/2.7)" y2="height - (width/2.7)" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)-1" y1="(width/2.7)" x2="width-(width/2.7)" y2="height - (width/2.7) + 1" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)-1" y1="(width/2.7)+1" x2="width-(width/2.7)-1" y2="height - (width/2.7) + 1" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)-1" y1="height - (width/2.7)" x2="width-(width/2.7)-1" y2="(width/2.7)" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)-1" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7)" />
+		<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7)+1" />
+
+		<!-- rounded corner on top -->
 		<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 5" y1="1" x2="width - 3" y2="1" />
 		<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 3" y1="2" x2="width - 2" y2="2" />
 		<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 2" y1="3" x2="width - 2" y2="4" />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]