Nice! Now, if you can fix the position of the shared activity, to put it near the kid icon.....
Gonzalo On Wed, May 25, 2011 at 10:57 AM, Simon Schampijer <si...@schampijer.de>wrote: > The patch does display the activity name as primary text > and the session title as secondary text. This is coherent > with the palette of an activity in the frame. > > Signed-off-by: Simon Schampijer <si...@laptop.org> > --- > src/jarabe/desktop/meshbox.py | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > 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 > -- > 1.7.4 > > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel >
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel