#5512 NORM Never A: translation support (and more) is set up too late during activity launching

Zarro Boogs per Child bugtracker at laptop.org
Sat Dec 15 12:44:46 EST 2007


#5512: translation support (and more) is set up too late during activity launching
-----------------------+----------------------------------------------------
 Reporter:  tomeu      |       Owner:  tomeu         
     Type:  defect     |      Status:  new           
 Priority:  normal     |   Milestone:  Never Assigned
Component:  sugar      |     Version:                
 Keywords:  Update.1?  |    Verified:  0             
-----------------------+----------------------------------------------------
 The activity module is imported before we set up some environment
 variables, the icon theme path, and the gettext system.

 Activity authors that do something at import time that depend on that will
 have a hard time to find why it works in event handlers but not at the
 module scope.

 It can be argued that nothing should happen at the module scope, but I
 think that fixing this will give a better experience to activity authors.

 The attached patch moves those initializations earlier in the process.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5512>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list