show URL in linkbutton. Fixes #2439
This commit is contained in:
		
							parent
							
								
									b02eeac875
								
							
						
					
					
						commit
						2ebd0af9de
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -126,7 +126,7 @@ class VcardWindow:
 | 
				
			||||||
		try:
 | 
							try:
 | 
				
			||||||
			if value and entry_name == 'URL_label':
 | 
								if value and entry_name == 'URL_label':
 | 
				
			||||||
				if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0):
 | 
									if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0):
 | 
				
			||||||
					url_label = gtk.LinkButton(value)
 | 
										url_label = gtk.LinkButton(value, value)
 | 
				
			||||||
				else:
 | 
									else:
 | 
				
			||||||
					url_label = gtk.Label(value)
 | 
										url_label = gtk.Label(value)
 | 
				
			||||||
				table = self.xml.get_widget('personal_info_table')
 | 
									table = self.xml.get_widget('personal_info_table')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue