Nice!<br>Now, if you can fix the position of the shared activity, to put it near the kid icon.....<br><br>Gonzalo<br><br><br><div class="gmail_quote">On Wed, May 25, 2011 at 10:57 AM, Simon Schampijer <span dir="ltr"><<a href="mailto:simon@schampijer.de">simon@schampijer.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The patch does display the activity name as primary text<br>
and the session title as secondary text. This is coherent<br>
with the palette of an activity in the frame.<br>
<br>
Signed-off-by: Simon Schampijer <<a href="mailto:simon@laptop.org">simon@laptop.org</a>><br>
---<br>
src/jarabe/desktop/meshbox.py | 6 ++++--<br>
1 files changed, 4 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py<br>
index 3d1e52a..83740d0 100644<br>
--- a/src/jarabe/desktop/meshbox.py<br>
+++ b/src/jarabe/desktop/meshbox.py<br>
@@ -94,12 +94,14 @@ class ActivityView(hippo.CanvasBox):<br>
return icon<br>
<br>
def _create_palette(self):<br>
- p_text = glib.markup_escape_text(self._model.bundle.get_name())<br>
+ primary_text = glib.markup_escape_text(self._model.bundle.get_name())<br>
+ secondary_text = glib.markup_escape_text(self._model.get_name())<br>
p_icon = Icon(file=self._model.bundle.get_icon(),<br>
xo_color=self._model.get_color())<br>
p_icon.props.icon_size = gtk.ICON_SIZE_LARGE_TOOLBAR<br>
p = palette.Palette(None,<br>
- primary_text=p_text,<br>
+ primary_text=primary_text,<br>
+ secondary_text=secondary_text,<br>
icon=p_icon)<br>
<br>
private = self._model.props.private<br>
<font color="#888888">--<br>
1.7.4<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></blockquote></div><br>