paper-gtk-theme icon indicating copy to clipboard operation
paper-gtk-theme copied to clipboard

Theme parsing warnings

Open Narrat opened this issue 8 years ago • 3 comments

With gtk-3.20.4 (Arch) and a paper theme based on 82503f8 I noticed the following warnings while running Meld from the console:

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:90:25: The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:3213:17: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:6297:16: The 'outline-radius' property has been renamed to '-gtk-outline-radius'

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:6320:52: The :prelight pseudo-class is deprecated. Use :hover instead.

(meld:12775): Gtk-WARNING **: Allocating size to GtkToggleToolButton 0x92b0728 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

Although the last message is propably irrelevant as it looks like an error from meld, the warnings regarding the theme parsing seem to be valid.

Narrat avatar May 14 '16 10:05 Narrat

Don't worry about them.

Defman21 avatar May 14 '16 15:05 Defman21

Hi,

the above mentioned warnings are still present in 2.1+r264~daily~ubuntu16.04.1.

I know there is no hurry in fixing them, just wanted to add the warning for the '-gtk-image-effect' property and mention the dark theme.

gtk.css + gtk-dark.css:

  • The :prelight pseudo-class is deprecated. Use :hover instead.
  • The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'
  • The 'outline-radius' property has been renamed to '-gtk-outline-radius'
  • The '-gtk-image-effect' property has been renamed to '-gtk-icon-effect'

gtk-dark.css:

  • The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version`

JoeyCorleone avatar Aug 09 '16 16:08 JoeyCorleone

+1

ghost avatar Sep 15 '16 05:09 ghost