Patch by cscott to load the profile keys lazily.

Some style and pylint complaints fixes by me.
Fix #5538
This commit is contained in:
Marco Pesenti Gritti
2008-01-09 15:35:23 +01:00
parent f00eada898
commit 2b0b83aa09
3 changed files with 29 additions and 21 deletions
+1 -1
View File
@@ -24,7 +24,6 @@ import logging
import gobject
import gtk
import hippo
import rsvg
import cairo
from sugar.graphics.style import Color
@@ -58,6 +57,7 @@ class _SVGLoader(object):
logging.error(
'Icon %s, entity %s is invalid.', file_name, entity)
import rsvg # XXX this is very slow! why?
return rsvg.Handle(data=icon)
class _IconInfo(object):