Public bug reported:

When using gtk-theme-config, the css file for gtk-3.0
(~/.config/gtk-3.0/gtk.css) is incorrectly modified. For example, one
part of the file may say (vicinity of line 27, in this case):


UnityPanelWidget,
.gnome-panel-menu-bar,
.unity-panel,
.xfce4-panel {
        background-color: @panel_bg_color       background-image: 
-gtk-gradient(linear,left top,left 
bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
        color: @panel_fg_color;
}


There is a semicolon missing after "background-color: @panel_bg_color", prior 
to "background-image". This flaw is repeated six times throughout the file.

While it doesn't appear to cause any major problems, it does cause extra
noise when invoking gtk-3.0 applications from a terminal, where it will
report a series of errors such as

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:27:35: Junk
at end of value

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:40:48: Junk
at end of value

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:48:46: Junk
at end of value

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:59:58: Junk
at end of value

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:70:46: Junk
at end of value

(gedit:6417): Gtk-WARNING **: Theme parsing error: gtk.css:81:58: Junk
at end of value


I can confirm that making the aforementioned changes to gtk.css fixes this 
issue, but fixing it manually after each use of gtk-theme-config is certainly 
suboptimal as a work-around.

gtk-theme-config version is 1.2-0ubuntu1, on vivid 64-bit (but likely to
be present on all versions).

** Affects: gtk-theme-config (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1500210

Title:
  gtk.css incorrectly modified

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk-theme-config/+bug/1500210/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to