[Bugs] #267 UNSP: Explicitly inherited method to (re)construct activity GUI after loading(possible) journal entity in sugar-toolkit

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Jan 30 09:08:47 EST 2009


#267: Explicitly inherited method to (re)construct activity GUI after
loading(possible) journal entity in sugar-toolkit
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  marcopg                    
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Minor                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfimed                 
------------------------------------------+---------------------------------
 now, read_file() calling placed in map event handler

 if I want to construct activity's gui according to loaded jobject
 I have to use connect_after("map") and rely on the fact that read_file()
 will be called before (of course I could call this construction from
 overloaded read_file but in that case I should count situation w/o loading
 jobject)

 better way is declaring method in Activity class to handle this interval:
 after __init__(), read_file() invoking(possible) and before showing gui

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/267>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list