[Bugs] #3042 UNSP: Activity Frame title does display "sugar activity"

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 15 10:42:02 EDT 2011


#3042: Activity Frame title does display "sugar activity"
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit              |        Version:  Git as of bugdate          
    Severity:  Major                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 this is an issue in current head introduced by
 d0a493e5326cf9b4c5cd6470242fd25665fdf1ed

 I think the following does fix it - but needs more testing as we regressed
 already several times:

 {{{
 diff --git a/src/sugar/activity/activity.py
 b/src/sugar/activity/activity.py
 index 2c7d823..4ea7570 100644
 --- a/src/sugar/activity/activity.py
 +++ b/src/sugar/activity/activity.py
 @@ -343,6 +343,7 @@ class Activity(Window, gtk.Container):
              self._jobject.metadata['title'] =
 self.shared_activity.props.name
              self._jobject.metadata['icon-color'] = \
                  self.shared_activity.props.color
 +        else:
              self.set_title(self._jobject.metadata['title'])
              self._jobject.metadata.connect('updated',
                                             self.__jobject_updated_cb)
 }}}

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


More information about the Bugs mailing list