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:
parent
b582736375
commit
1609340503
@ -344,9 +344,9 @@ class Activity(Window, gtk.Container):
|
|||||||
self._jobject.metadata['icon-color'] = \
|
self._jobject.metadata['icon-color'] = \
|
||||||
self.shared_activity.props.color
|
self.shared_activity.props.color
|
||||||
else:
|
else:
|
||||||
self.set_title(self._jobject.metadata['title'])
|
|
||||||
self._jobject.metadata.connect('updated',
|
self._jobject.metadata.connect('updated',
|
||||||
self.__jobject_updated_cb)
|
self.__jobject_updated_cb)
|
||||||
|
self.set_title(self._jobject.metadata['title'])
|
||||||
|
|
||||||
def _initialize_journal_object(self):
|
def _initialize_journal_object(self):
|
||||||
title = _('%s Activity') % get_bundle_name()
|
title = _('%s Activity') % get_bundle_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user