Allow image background position properties to have a value that's not 
in the dropdown.

        Patch by ninetydegrees. 

diffs (121 lines):

diff -r 14dcdafebcf3 -r f75385e5b9ce bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2   Mon Dec 20 00:13:54 2010 +0800
+++ b/bin/upgrading/s2layers/core2.s2   Mon Dec 20 00:15:28 2010 +0800
@@ -1692,6 +1692,7 @@ property string image_background_page_po
 property string image_background_page_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
     grouped = 1;
+    allow_other = 1;
 }
 
 property string[] image_background_header_group {
@@ -1709,6 +1710,7 @@ property string image_background_header_
 property string image_background_header_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
     grouped = 1;
+    allow_other = 1;
 }
 # FIXME: This should be grouped, but then it doesn't get a label.
 property int image_background_header_height {
@@ -1731,6 +1733,7 @@ property string image_background_entry_p
 property string image_background_entry_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
     grouped = 1;
+    allow_other = 1;
 }
 
 property string[] image_background_module_group {
@@ -1748,6 +1751,7 @@ property string image_background_module_
 property string image_background_module_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
     grouped = 1;
+    allow_other = 1;
 }
 
 property string[] separator_image_group {
@@ -1765,6 +1769,7 @@ property string separator_image_position
 property string separator_image_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
     grouped = 1;
+    allow_other = 1;
 }
 
 ##===============================
diff -r 14dcdafebcf3 -r f75385e5b9ce 
bin/upgrading/s2layers/nouveauoleanders/layout.s2
--- a/bin/upgrading/s2layers/nouveauoleanders/layout.s2 Mon Dec 20 00:13:54 
2010 +0800
+++ b/bin/upgrading/s2layers/nouveauoleanders/layout.s2 Mon Dec 20 00:15:28 
2010 +0800
@@ -65,6 +65,7 @@ propgroup images_child {
     property string image_entry_border_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
 
     property string[] image_entry_border_end_odd_group {
@@ -82,6 +83,7 @@ propgroup images_child {
     property string image_entry_border_end_odd_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
 
     property string[] image_entry_border_end_even_group {
@@ -99,6 +101,7 @@ propgroup images_child {
     property string image_entry_border_end_even_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
 
     property string[] image_comment_border_group {
@@ -116,6 +119,7 @@ propgroup images_child {
     property string image_comment_border_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
 
     property string[] image_comment_border_end_odd_group {
@@ -133,6 +137,7 @@ propgroup images_child {
     property string image_comment_border_end_odd_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
 
     property string[] image_comment_border_end_even_group {
@@ -150,6 +155,7 @@ propgroup images_child {
     property string image_comment_border_end_even_position {
     values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
         }
     }
 
diff -r 14dcdafebcf3 -r f75385e5b9ce 
bin/upgrading/s2layers/skittlishdreams/layout.s2
--- a/bin/upgrading/s2layers/skittlishdreams/layout.s2  Mon Dec 20 00:13:54 
2010 +0800
+++ b/bin/upgrading/s2layers/skittlishdreams/layout.s2  Mon Dec 20 00:15:28 
2010 +0800
@@ -106,6 +106,7 @@ propgroup images {
     property string image_background_container_position {
         values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
     }
     
     
@@ -124,6 +125,7 @@ propgroup images {
     property string image_background_footer_position {
         values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
     }
     
     property string[] image_background_navigation_group {
@@ -141,6 +143,7 @@ propgroup images {
     property string image_background_navigation_position {
         values = "top left|top left|top center|top center|top right|top 
right|center left|center left|center center|center|center right|center 
right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom 
right";
         grouped = 1;
+        allow_other = 1;
     }
 }
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to