[gnome-themes-standard] window decorations: added versioned 3.3 [right, left]_single_background as a test case for feature im



commit 9128a3021679e97723c74148aa3e05447fc7ae22
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Dec 1 15:25:29 2010 +0100

    window decorations: added versioned 3.3 [right,left]_single_background as a test case for feature implementation.

 themes/Adwaita/metacity-1/metacity-theme-3.xml |   53 +++++++++++++++++++++---
 1 files changed, 47 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/metacity-1/metacity-theme-3.xml
index 9b57244..c2e4266 100644
--- a/themes/Adwaita/metacity-1/metacity-theme-3.xml
+++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml
@@ -944,6 +944,11 @@
 	<button function="right_left_background" state="normal" draw_ops="button_inner_right"/>
 	<button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/>
 	<button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+	
+	<button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/>
 
 	<button function="shade" state="normal"><draw_ops></draw_ops></button>
 	<button function="shade" state="pressed"><draw_ops></draw_ops></button>
@@ -1017,6 +1022,13 @@
 	<button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/>
 	<button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/>
 
+	<button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/>
+	<button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/>
+	<button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+
 	<button function="shade" state="normal"><draw_ops></draw_ops></button>
 	<button function="shade" state="pressed"><draw_ops></draw_ops></button>
 	<button function="unshade" state="normal"><draw_ops></draw_ops></button>
@@ -1089,6 +1101,13 @@
 	<button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/>
 	<button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/>
 
+	<button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/>
+	<button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/>
+	<button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+
 	<button function="shade" state="normal"><draw_ops></draw_ops></button>
 	<button function="shade" state="pressed"><draw_ops></draw_ops></button>
 	<button function="unshade" state="normal"><draw_ops></draw_ops></button>
@@ -1162,6 +1181,13 @@
 	<button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/>
 	<button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/>
 
+	<button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/>
+	<button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/>
+	<button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+
 	<button function="shade" state="normal"><draw_ops></draw_ops></button>
 	<button function="shade" state="pressed"><draw_ops></draw_ops></button>
 	<button function="unshade" state="normal"><draw_ops></draw_ops></button>
@@ -1220,13 +1246,28 @@
 	<button function="menu" state="normal" draw_ops="menu_focused" />
 	<button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
 
-	<button function="left_middle_background" state="normal" draw_ops="button_inner_left"/>
-	<button function="left_middle_background" state="prelight" draw_ops="button_inner_left_prelight"/>
-	<button function="left_middle_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version="< 3.3" function="left_middle_background" state="normal" draw_ops="button_inner_left"/>
+	<button version="< 3.3" function="left_middle_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version="< 3.3" function="left_middle_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+
+	<button version="< 3.3" function="right_middle_background" state="normal" draw_ops="button_inner_right"/>
+	<button version="< 3.3" function="right_middle_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version="< 3.3" function="right_middle_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+
+	<button version=">= 3.3" function="left_middle_background" state="normal" draw_ops="button_left"/>
+	<button version=">= 3.3" function="left_middle_background" state="prelight" draw_ops="button_left_prelight"/>
+	<button version=">= 3.3" function="left_middle_background" state="pressed" draw_ops="button_left_pressed"/>
+
+	<button version=">= 3.3"function="right_middle_background" state="normal" draw_ops="button_right"/>
+	<button version=">= 3.3"function="right_middle_background" state="prelight" draw_ops="button_right_prelight"/>
+	<button version=">= 3.3"function="right_middle_background" state="pressed" draw_ops="button_right_pressed"/>
 
-	<button function="right_middle_background" state="normal" draw_ops="button_inner_right"/>
-	<button function="right_middle_background" state="prelight" draw_ops="button_inner_right_prelight"/>
-	<button function="right_middle_background" state="pressed" draw_ops="button_inner_right_pressed"/>
+	<button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/>
+	<button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/>
+	<button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/>
+	<button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/>
+	<button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/>
+	<button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/>
 
 	<button function="shade" state="normal"><draw_ops></draw_ops></button>
 	<button function="shade" state="pressed"><draw_ops></draw_ops></button>



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