Use the activity instance name when joining a shared activity SL #2872
When we join a shared activity we use the name of the shared activity as the title of the activity. As we set the activity metadata accordingly this will be visible in the activity toolbar, the Journal and the activity frame. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-By: Sascha Silbe <silbe@activitycentral.com>
This commit is contained in:
		
							parent
							
								
									c86b6d5917
								
							
						
					
					
						commit
						1ea1b2a0ab
					
				| @ -336,6 +336,8 @@ class Activity(Window, gtk.Container): | ||||
| 
 | ||||
|     def _initialize_journal_object(self): | ||||
|         title = _('%s Activity') % get_bundle_name() | ||||
|         if self.shared_activity and self.shared_activity.props.name != title: | ||||
|             title = self.shared_activity.props.name | ||||
| 
 | ||||
|         if self.shared_activity is not None: | ||||
|             icon_color = self.shared_activity.props.color | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Simon Schampijer
						Simon Schampijer