#10676 HIGH 11.2.0-: Shared activities displayed with activity name, not instance/journal name in the sugar network view

Zarro Boogs per Child bugtracker at laptop.org
Wed May 25 09:35:56 EDT 2011


#10676: Shared activities displayed with activity name, not instance/journal name
in the sugar network view
---------------------------------+------------------------------------------
           Reporter:  greenfeld  |       Owner:  erikos                           
               Type:  defect     |      Status:  new                              
           Priority:  high       |   Milestone:  11.2.0-M4                        
          Component:  sugar      |     Version:  Development build as of this date
         Resolution:             |    Keywords:  collaboration                    
        Next_action:  code       |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by erikos):

 {{{
 diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py
 index 3d1e52a..83740d0 100644
 --- a/src/jarabe/desktop/meshbox.py
 +++ b/src/jarabe/desktop/meshbox.py
 @@ -94,12 +94,14 @@ class ActivityView(hippo.CanvasBox):
          return icon

      def _create_palette(self):
 -        p_text = glib.markup_escape_text(self._model.bundle.get_name())
 +        primary_text =
 glib.markup_escape_text(self._model.bundle.get_name())
 +        secondary_text = glib.markup_escape_text(self._model.get_name())
          p_icon = Icon(file=self._model.bundle.get_icon(),
                        xo_color=self._model.get_color())
          p_icon.props.icon_size = gtk.ICON_SIZE_LARGE_TOOLBAR
          p = palette.Palette(None,
 -                            primary_text=p_text,
 +                            primary_text=primary_text,
 +                            secondary_text=secondary_text,
                              icon=p_icon)

          private = self._model.props.private
 }}}

 Like in the activity tray in the frame we should maybe display the
 activity name AND the title of the session.

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


More information about the Bugs mailing list