[gnome-boxes/gnome-3-4] Fix parsing of CSS stylesheet with gtk+ 3.4
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-4] Fix parsing of CSS stylesheet with gtk+ 3.4
- Date: Tue, 26 Jun 2012 13:13:49 +0000 (UTC)
commit f973b38e04d7b082ffe8d68de28332792744e8be
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Jun 26 14:52:38 2012 +0200
Fix parsing of CSS stylesheet with gtk+ 3.4
gtk+ 3.4 expects the horizontal and vertical offsets of text-shadow
and icon-shadow CSS properties to be unitless otherwise it fails
to parse them, and it returns an error parsing the whole CSS stylesheet
("Horizontal and vertical offsets are required").
This causes GNOME Boxes to be wrongly styled/themed, and looks ugly.
This will be fixed with gtk+ 3.6, but in the 3.4 series, let's go
with an easy fix and remove units from these properties.
https://bugzilla.gnome.org/show_bug.cgi?id=678876
data/gtk-style.css | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 9af959b..9c01a6d 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -102,8 +102,8 @@
background-image: none;
background-color: alpha(#fff, 0.15);
- text-shadow: 1px 1px black;
- icon-shadow: 1px 1px black;
+ text-shadow: 1 1 black;
+ icon-shadow: 1 1 black;
}
.osd .toolbar .favorite {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]