redraw parent's icon when a child log off to eventually remove the arrow in icon
This commit is contained in:
		
							parent
							
								
									af95e11fc2
								
							
						
					
					
						commit
						652e1df102
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -302,6 +302,7 @@ class RosterWindow:
 | 
				
			||||||
					if not has_another_child:
 | 
										if not has_another_child:
 | 
				
			||||||
						# Remove parent contact
 | 
											# Remove parent contact
 | 
				
			||||||
						self.remove_contact(parent_contact, account)
 | 
											self.remove_contact(parent_contact, account)
 | 
				
			||||||
 | 
									self.draw_contact(parent_contact.jid, account)
 | 
				
			||||||
				return
 | 
									return
 | 
				
			||||||
			group = model[parent_i][C_JID].decode('utf-8')
 | 
								group = model[parent_i][C_JID].decode('utf-8')
 | 
				
			||||||
			if model.iter_n_children(parent_i) == 0:
 | 
								if model.iter_n_children(parent_i) == 0:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue