Public bug reported:

Using Screenlets v0.1.5

I get this error when starting some Screenlets from the command line:

/usr/local/lib/python2.6/dist-packages/screenlets/drawing.py:134: 
DeprecationWarning: use copy pango.FontDescription.set_family instead
  self.p_fdesc.set_family_static(font)

It's only a deprecation warning, but it is annoying and potentially
harmful in the future.  I simply replaced the lines in
screenlets/drawing.py that said "self.p_fdesc.set_family_static(font)"
with "self.p_fdesc.set_family(font)" and that fixed the problem, like it
says.

** Affects: screenlets
     Importance: Undecided
         Status: New


** Tags: deprecation drawing warning

-- 
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.
https://bugs.launchpad.net/bugs/1053805

Title:
  Deprecation Warning from drawing.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/screenlets/+bug/1053805/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~screenlets-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~screenlets-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to