show '_' instead of underlining the next character in systray popup menu
This commit is contained in:
		
							parent
							
								
									a0921c0427
								
							
						
					
					
						commit
						79927434aa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1407,7 +1407,7 @@ class systray:
 | 
				
			||||||
					user = users[0]
 | 
										user = users[0]
 | 
				
			||||||
					if group in user.groups and user.show != 'offline' and \
 | 
										if group in user.groups and user.show != 'offline' and \
 | 
				
			||||||
						user.show != 'error':
 | 
											user.show != 'error':
 | 
				
			||||||
						item = gtk.MenuItem(user.name)
 | 
											item = gtk.MenuItem(string.replace(user.name, '_', '__'))
 | 
				
			||||||
						menu_user.append(item)
 | 
											menu_user.append(item)
 | 
				
			||||||
						item.connect("activate", self.start_chat, account, user.jid)
 | 
											item.connect("activate", self.start_chat, account, user.jid)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue