Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#841077: CSS errors in clearlooks-phenix-theme

47 views
Skip to first unread message

Robert J. Macomber

unread,
Oct 17, 2016, 9:30:02 AM10/17/16
to
Package: clearlooks-phenix-theme
Version: 7.0-1
Severity: minor

When starting up a GTK application with clearlooks-phenix-theme
selected, a number of warnings are printed:

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1594:13: not a number

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1594:13: Expected a string.

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1976:11: not a number

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1976:11: Expected a string.

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2526:11: not a number

(emacs:13068): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2526:11: Expected a string.

(emacs:13068): Gtk-WARNING **: Theme parsing error: applications.css:21:0: Expected a valid selector

These are all pretty trivial CSS problems. Here is a patch that
cleans them up:

------------------------------------------------------------
diff -ru Clearlooks-Phenix-orig/gtk-3.0/applications.css Clearlooks-Phenix/gtk-3.0/applications.css
--- Clearlooks-Phenix-orig/gtk-3.0/applications.css 2016-10-17 06:08:27.092780991 -0700
+++ Clearlooks-Phenix/gtk-3.0/applications.css 2016-10-17 06:13:30.861946218 -0700
@@ -18,8 +18,6 @@
border-image: none;
}

-}
-
/*******************
* gnome-documents *
*******************/
diff -ru Clearlooks-Phenix-orig/gtk-3.0/gtk-widgets.css Clearlooks-Phenix/gtk-3.0/gtk-widgets.css
--- Clearlooks-Phenix-orig/gtk-3.0/gtk-widgets.css 2016-10-17 06:06:54.329645370 -0700
+++ Clearlooks-Phenix/gtk-3.0/gtk-widgets.css 2016-10-17 06:13:45.301811310 -0700
@@ -1591,7 +1591,7 @@

menu,
.menu {
- font: normal;
+ font-weight: normal;
background-color: @menu_bg_color;
color: @menu_fg_color;
padding: 1px;
@@ -1973,7 +1973,7 @@

assistant .sidebar highlight {
color: @theme_fg_color;
- font: bold;
+ font-weight: bold;
}

assistant .sidebar {
@@ -2523,7 +2523,7 @@
}

.titlebar .title {
- font: Bold;
+ font-weight: bold;
}

/*.titlebar :first-child {*/
------------------------------------------------------------
--
Robert Macomber

Ben Caradoc-Davies

unread,
Jan 18, 2018, 6:00:03 PM1/18/18
to
Here is another CSS error introduced by Debian css-fixups.patch, noticed
after geany was rebuilt with GTK3:

(geany:18320): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1214:18: Not using units is deprecated. Assuming 'px'.

The fix is to add the "px" unit on gtk-3.0/gtk-widgets.css:1214:

--- /usr/share/themes/Clearlooks-Phenix/gtk-3.0/gtk-widgets.css.orig
2018-01-17 09:06:05.190952179 +1300
+++ /usr/share/themes/Clearlooks-Phenix/gtk-3.0/gtk-widgets.css
2018-01-17 09:06:52.149995454 +1300
@@ -1211,7 +1211,7 @@
combobox > .linked > button.combo:disabled:last-child {
border-image-width: 3px 3px 4px 0;
border-radius: 0 3px 3px 0;
- border-width: 0 1;
+ border-width: 0 1px;
}
combobox > .linked > entry.combo:only-child,
combobox > .linked > button.combo:only-child,

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand
0 new messages