[Precise] Specify metric units

Bug #930517 reported by Victor Martinez
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
elementary Stylesheet
Fix Released
Undecided
Unassigned

Bug Description

In Precise you have to specify the metric units for non-zero values to avoid the following warning:

[WARNING] Not using units is deprecated. Assuming 'px'.

summary: - Not using units is deprecated. Assuming 'px'.
+ [Precise] Specify metric units
description: updated
Revision history for this message
Danielle Foré (danrabbit) wrote :

This has been fixed since rev 397. Please make sure you're using the latest from bzr before reporting bugs ;)

Changed in egtk:
status: New → Fix Committed
Changed in egtk:
milestone: none → 3.0
Changed in egtk:
status: Fix Committed → Fix Released
Revision history for this message
Pim Vullers (pimvullers) wrote :

When launching applications like scratch or pantheon-terminal from the command-line I still get:

[Gtk] Theme parsing error: gtk-widgets.css:216:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: gtk-widgets.css:217:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: gtk-widgets.css:252:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: gtk-widgets.css:253:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: gtk-widgets.css:279:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: gtk-widgets.css:1279:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: button.css:151:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: button.css:152:20: Not using units is deprecated. Assuming 'px'.
[Gtk] Theme parsing error: content-view.css:92:20: Not using units is deprecated. Assuming 'px'.

This is using egtk from trunk.

Revision history for this message
Jerome (romjerome) wrote :

Hi,

Where is the fix? I still need to manually make a temp workaround:
http://gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#GTK_3_theme

It seems that daily updates under ElementaryOs beta1 are based on:
http://bazaar.launchpad.net/~elementary-design/egtk/egtk-2a/files/head:/gtk-3.0/

For reproducing it:

1. download gramps4.0.0-alpha5:
eg, http://sourceforge.net/projects/gramps/files/Unstable/python-gramps_4.0.0alpha5-r21818_ubuntu.deb
2. from command line:
$ GRAMPS_RESOURCES=/usr/share PYTHONPATH=/usr/local/lib/python2.7/site-packages/ /usr/bin/gramps
where PYTHONPATH is the location with at least python-gobject 3.3.2

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:223:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:224:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:254:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:255:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:281:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:475:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:476:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:151:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:152:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:210:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:211:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:242:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: button.css:243:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: granite-widgets.css:109:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: granite-widgets.css:110:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: granite-widgets.css:126:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: granite-widgets.css:127:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: content-view.css:92:20: Not using units is deprecated.
Assuming 'px'.

(gramps:3057): Gtk-WARNING **: Theme parsing error: apps.css:67:20: Not using units is deprecated. Assuming
'px'.

regards,

Revision history for this message
Jerome (romjerome) wrote :

I am using elementary-theme 3.2-0~r601+pkg290~precise1 package.
https://launchpad.net/~elementary-os/+archive/daily/+build/4457703

Is it possible to port fix on daily stream?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.