#10671 BLOC 11.2.0-: Neighborhood view is sometimes greyed out or owner buddy is missing

Zarro Boogs per Child bugtracker at laptop.org
Sun Jun 26 08:34:01 EDT 2011


#10671: Neighborhood view is sometimes greyed out or owner buddy is missing
-------------------------------+--------------------------------------------
           Reporter:  erikos   |       Owner:  erikos                           
               Type:  defect   |      Status:  new                              
           Priority:  blocker  |   Milestone:  11.2.0-final                     
          Component:  sugar    |     Version:  Development build as of this date
         Resolution:           |    Keywords:  collaboration                    
        Next_action:  review   |    Verified:  0                                
Deployment_affected:           |   Blockedby:                                   
           Blocking:           |  
-------------------------------+--------------------------------------------
Changes (by erikos):

  * next_action:  code => review


Comment:

 This one should be fixed by 10675#comment:6. Reasoning in
 http://lists.sugarlabs.org/archive/sugar-devel/2011-June/032060.html.

 Another double check could be the following, but I don't think we need
 this anymore:
 {{{
 diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py
 index 3d1e52a..a949f84 100644
 --- a/src/jarabe/desktop/meshbox.py
 +++ b/src/jarabe/desktop/meshbox.py
 @@ -474,8 +474,9 @@ class MeshBox(gtk.VBox):
          self._remove_activity(activity_model)

      def _add_buddy(self, buddy_model):
 -        buddy_model.connect('notify::current-activity',
 -                            self.__buddy_notify_current_activity_cb)
 +        if not buddy_model.is_owner():
 +            buddy_model.connect('notify::current-activity',
 +                                self.__buddy_notify_current_activity_cb)
          if buddy_model.props.current_activity is not None:
              return
          icon = BuddyIcon(buddy_model)
 }}}

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


More information about the Bugs mailing list