[gtk-engines/gnome3] use a 1:1 aspect ratio for th ebuttons. fix close button. maximize is next.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-engines/gnome3] use a 1:1 aspect ratio for th ebuttons. fix close button. maximize is next.
- Date: Thu, 29 Jul 2010 09:35:12 +0000 (UTC)
commit a1e34d8d0712e7b86a2de38701e92ddf159d0f27
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Jul 28 16:15:21 2010 +0200
use a 1:1 aspect ratio for th ebuttons. fix close button. maximize is next.
themes/GNOME3/metacity-1/metacity-theme-1.xml | 52 ++++++++++++------------
1 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/themes/GNOME3/metacity-1/metacity-theme-1.xml b/themes/GNOME3/metacity-1/metacity-theme-1.xml
index 300db73..06733fd 100644
--- a/themes/GNOME3/metacity-1/metacity-theme-1.xml
+++ b/themes/GNOME3/metacity-1/metacity-theme-1.xml
@@ -18,7 +18,7 @@
<distance name="title_vertical_pad" value="10"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
- <aspect_ratio name="button" value="0.96"/>
+ <aspect_ratio name="button" value="1"/>
</frame_geometry>
<frame_geometry name="maximized" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false" >
@@ -193,19 +193,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)" 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) + 2" />
- <line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" 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)" 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)" 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)+1" 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) + 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="#ffffff" x1="(width/2.7)+1" y1="(width/2.7)" x2="width-(width/2.7)" y2="height - (width/2.7)" />
- <line color="#ffffff" x1="(width/2.7)" y1="(width/2.7)" x2="width-(width/2.7)" 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) + 1" />
- <line color="#ffffff" x1="(width/2.7)" y1="height - (width/2.7)" x2="width-(width/2.7) - 1" 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)" />
- <line color="#ffffff" x1="(width/2.7)+1" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(width/2.7)+1" />
+ <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" />
</draw_ops>
<draw_ops name="rounded_outer_border">
@@ -249,19 +249,19 @@
</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)" 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) + 2" />
- <line color="#ffffff" x1="(width/2.7)" y1="(width/2.7) + 2" x2="width-(width/2.7) - 1" y2="height - (width/2.7) + 2" />
- <line color="#ffffff" x1="(width/2.7)" 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="height - (width/2.7) + 2" x2="width-(width/2.7)" 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) + 2" />
-
- <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)" />
- <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) + 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) + 1" />
- <line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="(width/2.7)" 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)" 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)+1" y1="height - (width/2.7) + 1" x2="width-(width/2.7)" y2="(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)" 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="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" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]