[Xfce4-commits] [xfce/gtk-xfce-engine] 03/06: Fix text-shadow value to silence a gtk3 warning

noreply at xfce.org noreply at xfce.org
Wed Feb 18 21:36:26 CET 2015


This is an automated email from the git hooks/post-receive script.

peter pushed a commit to branch master
in repository xfce/gtk-xfce-engine.

commit 9cee5b99364e77567a56385af63fc1d5a8f456be
Author: Nicolas Iooss <nicolas.iooss_xfce at m4x.org>
Date:   Mon Jun 9 12:34:03 2014 +0200

    Fix text-shadow value to silence a gtk3 warning
    
    When running gtk applications in XFCE, the following warning appears in
    the console:
    
        (gedit:9384): Gtk-WARNING **: Theme parsing error: gtk.css:102:18:
        Not using units is deprecated. Assuming 'px'.
        (gedit:9384): Gtk-WARNING **: Theme parsing error: gtk.css:102:20:
        Not using units is deprecated. Assuming 'px'.
    
    These warning are triggered by such lines:
    
        text-shadow: 1 1 white;
    
    The fix consists in replacing "1" by "1px" in such lines.
---
 themes/b5/gtk-3.0/gtk.css        |    2 +-
 themes/basic/gtk-3.0/gtk.css     |    2 +-
 themes/cadmium/gtk-3.0/gtk.css   |    2 +-
 themes/curve/gtk-3.0/gtk.css     |    2 +-
 themes/dawn/gtk-3.0/gtk.css      |    2 +-
 themes/dusk/gtk-3.0/gtk.css      |    2 +-
 themes/kde2/gtk-3.0/gtk.css      |    2 +-
 themes/kolors/gtk-3.0/gtk.css    |    2 +-
 themes/light/gtk-3.0/gtk.css     |    2 +-
 themes/orange/gtk-3.0/gtk.css    |    2 +-
 themes/redmondxp/gtk-3.0/gtk.css |    2 +-
 themes/saltlake/gtk-3.0/gtk.css  |    2 +-
 themes/smooth/gtk-3.0/gtk.css    |    2 +-
 themes/stellar/gtk-3.0/gtk.css   |    2 +-
 themes/winter/gtk-3.0/gtk.css    |    2 +-
 themes/xfce-4.0/gtk-3.0/gtk.css  |    2 +-
 themes/xfce-4.2/gtk-3.0/gtk.css  |    2 +-
 themes/xfce-4.4/gtk-3.0/gtk.css  |    2 +-
 themes/xfce-4.6/gtk-3.0/gtk.css  |    2 +-
 themes/xfce/gtk-3.0/gtk.css      |    2 +-
 20 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/themes/b5/gtk-3.0/gtk.css b/themes/b5/gtk-3.0/gtk.css
index ac1ea3f..e74fcf1 100644
--- a/themes/b5/gtk-3.0/gtk.css
+++ b/themes/b5/gtk-3.0/gtk.css
@@ -57,7 +57,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/basic/gtk-3.0/gtk.css b/themes/basic/gtk-3.0/gtk.css
index 65910ab..82d7f45 100644
--- a/themes/basic/gtk-3.0/gtk.css
+++ b/themes/basic/gtk-3.0/gtk.css
@@ -18,7 +18,7 @@
 }
 
 *:insensitive {
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 GtkComboBox {
diff --git a/themes/cadmium/gtk-3.0/gtk.css b/themes/cadmium/gtk-3.0/gtk.css
index 4675576..47eaba5 100644
--- a/themes/cadmium/gtk-3.0/gtk.css
+++ b/themes/cadmium/gtk-3.0/gtk.css
@@ -64,7 +64,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/curve/gtk-3.0/gtk.css b/themes/curve/gtk-3.0/gtk.css
index 54fdf8b..5c94463 100644
--- a/themes/curve/gtk-3.0/gtk.css
+++ b/themes/curve/gtk-3.0/gtk.css
@@ -61,7 +61,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/dawn/gtk-3.0/gtk.css b/themes/dawn/gtk-3.0/gtk.css
index 5b28ecb..cf05f91 100644
--- a/themes/dawn/gtk-3.0/gtk.css
+++ b/themes/dawn/gtk-3.0/gtk.css
@@ -64,7 +64,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/dusk/gtk-3.0/gtk.css b/themes/dusk/gtk-3.0/gtk.css
index 2fb5cfb..6a65d5b 100644
--- a/themes/dusk/gtk-3.0/gtk.css
+++ b/themes/dusk/gtk-3.0/gtk.css
@@ -69,7 +69,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/kde2/gtk-3.0/gtk.css b/themes/kde2/gtk-3.0/gtk.css
index a8438f7..23d049c 100644
--- a/themes/kde2/gtk-3.0/gtk.css
+++ b/themes/kde2/gtk-3.0/gtk.css
@@ -60,7 +60,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/kolors/gtk-3.0/gtk.css b/themes/kolors/gtk-3.0/gtk.css
index e7c380a..7bff0ac 100644
--- a/themes/kolors/gtk-3.0/gtk.css
+++ b/themes/kolors/gtk-3.0/gtk.css
@@ -64,7 +64,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/light/gtk-3.0/gtk.css b/themes/light/gtk-3.0/gtk.css
index cbb3d02..81a61dc 100644
--- a/themes/light/gtk-3.0/gtk.css
+++ b/themes/light/gtk-3.0/gtk.css
@@ -57,7 +57,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/orange/gtk-3.0/gtk.css b/themes/orange/gtk-3.0/gtk.css
index adbdb98..f6b8904 100644
--- a/themes/orange/gtk-3.0/gtk.css
+++ b/themes/orange/gtk-3.0/gtk.css
@@ -67,7 +67,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/redmondxp/gtk-3.0/gtk.css b/themes/redmondxp/gtk-3.0/gtk.css
index 9a6e846..31e3bd4 100644
--- a/themes/redmondxp/gtk-3.0/gtk.css
+++ b/themes/redmondxp/gtk-3.0/gtk.css
@@ -59,7 +59,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/saltlake/gtk-3.0/gtk.css b/themes/saltlake/gtk-3.0/gtk.css
index 9bf583e..1b58276 100644
--- a/themes/saltlake/gtk-3.0/gtk.css
+++ b/themes/saltlake/gtk-3.0/gtk.css
@@ -59,7 +59,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/smooth/gtk-3.0/gtk.css b/themes/smooth/gtk-3.0/gtk.css
index 220295d..ca99ee6 100644
--- a/themes/smooth/gtk-3.0/gtk.css
+++ b/themes/smooth/gtk-3.0/gtk.css
@@ -55,7 +55,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/stellar/gtk-3.0/gtk.css b/themes/stellar/gtk-3.0/gtk.css
index 59eb470..7d05f7b 100644
--- a/themes/stellar/gtk-3.0/gtk.css
+++ b/themes/stellar/gtk-3.0/gtk.css
@@ -61,7 +61,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/winter/gtk-3.0/gtk.css b/themes/winter/gtk-3.0/gtk.css
index 7dfbd4c..e142c09 100644
--- a/themes/winter/gtk-3.0/gtk.css
+++ b/themes/winter/gtk-3.0/gtk.css
@@ -61,7 +61,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/xfce-4.0/gtk-3.0/gtk.css b/themes/xfce-4.0/gtk-3.0/gtk.css
index 181b002..55e6c73 100644
--- a/themes/xfce-4.0/gtk-3.0/gtk.css
+++ b/themes/xfce-4.0/gtk-3.0/gtk.css
@@ -64,7 +64,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/xfce-4.2/gtk-3.0/gtk.css b/themes/xfce-4.2/gtk-3.0/gtk.css
index 5de35fe..4b1dea0 100644
--- a/themes/xfce-4.2/gtk-3.0/gtk.css
+++ b/themes/xfce-4.2/gtk-3.0/gtk.css
@@ -69,7 +69,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/xfce-4.4/gtk-3.0/gtk.css b/themes/xfce-4.4/gtk-3.0/gtk.css
index 31af791..fe72076 100644
--- a/themes/xfce-4.4/gtk-3.0/gtk.css
+++ b/themes/xfce-4.4/gtk-3.0/gtk.css
@@ -70,7 +70,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/xfce-4.6/gtk-3.0/gtk.css b/themes/xfce-4.6/gtk-3.0/gtk.css
index f3d0424..1763cac 100644
--- a/themes/xfce-4.6/gtk-3.0/gtk.css
+++ b/themes/xfce-4.6/gtk-3.0/gtk.css
@@ -98,7 +98,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {
diff --git a/themes/xfce/gtk-3.0/gtk.css b/themes/xfce/gtk-3.0/gtk.css
index 83489ac..95183f6 100644
--- a/themes/xfce/gtk-3.0/gtk.css
+++ b/themes/xfce/gtk-3.0/gtk.css
@@ -99,7 +99,7 @@
     color: @fg_insensitive;
     background-color: @bg_insensitive;
     border-color: darker(@bg_insensitive);
-    text-shadow: 1 1 white;
+    text-shadow: 1px 1px white;
 }
 
 *:hover {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list