Joining shared activity: set title for activity palette in frame, SL #3109

We need to set the title when we join a shared session AND when
we run a private session.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Tested-By: Gonzalo Odiard <gonzalo@laptop.org>
Reviewed-By: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
This commit is contained in:
Simon Schampijer 2011-09-19 15:46:39 +02:00
parent b582736375
commit 1609340503

View File

@ -344,9 +344,9 @@ class Activity(Window, gtk.Container):
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)
self.set_title(self._jobject.metadata['title'])
def _initialize_journal_object(self):
title = _('%s Activity') % get_bundle_name()