[Bugs] #1840 UNSP: activity title should be set to sample name after a sample is loaded

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Mar 17 08:56:24 EDT 2010


#1840: activity title should be set to sample name after a sample is loaded
------------------------------------------+---------------------------------
    Reporter:  rgs                        |          Owner:  walter                     
        Type:  enhancement                |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Git as of bugdate          
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:                             |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------
Changes (by walter):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Simple fix to load_file:

 +         if self.running_sugar:
 +             self.activity.metadata['title'] =
 os.path.split(_file_name)[1]

-- 
Ticket URL: <https://bugs.sugarlabs.org/ticket/1840#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list