don't show popup menu for group that can't be renamed
This commit is contained in:
		
							parent
							
								
									42fcc71bc0
								
							
						
					
					
						commit
						fe98c5fc55
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1309,6 +1309,9 @@ class RosterWindow:
 | 
			
		|||
		'''Make group's popup menu'''
 | 
			
		||||
		model = self.tree.get_model()
 | 
			
		||||
		path = model.get_path(iter)
 | 
			
		||||
		group = model[iter][C_JID]
 | 
			
		||||
		if group in helpers.special_groups + (_('General'),):
 | 
			
		||||
			return
 | 
			
		||||
 | 
			
		||||
		menu = gtk.Menu()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue