nothing
This commit is contained in:
		
							parent
							
								
									aa62061700
								
							
						
					
					
						commit
						36459161fa
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
					@ -287,14 +287,10 @@ class GCTooltip(BaseTooltip, StatusTable):
 | 
				
			||||||
					'</span>' + gtkgui_helpers.escape_for_pango_markup(
 | 
										'</span>' + gtkgui_helpers.escape_for_pango_markup(
 | 
				
			||||||
						contact.resource) 
 | 
											contact.resource) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			
 | 
					 | 
				
			||||||
		
 | 
					 | 
				
			||||||
		self.text_lable.set_markup(info)
 | 
							self.text_lable.set_markup(info)
 | 
				
			||||||
		hbox.add(self.text_lable)
 | 
							hbox.add(self.text_lable)
 | 
				
			||||||
		self.win.add(hbox)
 | 
							self.win.add(hbox)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class RosterTooltip(BaseTooltip, StatusTable):
 | 
					class RosterTooltip(BaseTooltip, StatusTable):
 | 
				
			||||||
	''' Tooltip that is shown in the roster treeview '''
 | 
						''' Tooltip that is shown in the roster treeview '''
 | 
				
			||||||
	def __init__(self, plugin):
 | 
						def __init__(self, plugin):
 | 
				
			||||||
| 
						 | 
					@ -383,7 +379,8 @@ class RosterTooltip(BaseTooltip, StatusTable):
 | 
				
			||||||
				if contact.status:
 | 
									if contact.status:
 | 
				
			||||||
					status = contact.status.strip()
 | 
										status = contact.status.strip()
 | 
				
			||||||
					if status != '':
 | 
										if status != '':
 | 
				
			||||||
						# reduce long status (no more than 130 chars on line and no more than 5 lines)
 | 
											# reduce long status
 | 
				
			||||||
 | 
											# (no more than 130 chars on line and no more than 5 lines)
 | 
				
			||||||
						status = gtkgui_helpers.reduce_chars_newlines(status, 130, 5)
 | 
											status = gtkgui_helpers.reduce_chars_newlines(status, 130, 5)
 | 
				
			||||||
						# escape markup entities. 
 | 
											# escape markup entities. 
 | 
				
			||||||
						info += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)
 | 
											info += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue