Alignement and bold typing changes in vcard and profile window. Nothing as usual.

This commit is contained in:
Stephan Erb 2008-02-28 18:53:49 +00:00
parent b3f3a812a9
commit b973c4c2bc
3 changed files with 1853 additions and 1799 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -166,8 +166,10 @@ class VcardWindow:
if value and entry_name == 'URL_label':
if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0):
widget = gtk.LinkButton(value, value)
widget.set_alignment(0, 0)
else:
widget = gtk.Label(value)
widget.set_alignment(0, 0)
widget.set_selectable(True)
widget.show()
table = self.xml.get_widget('personal_info_table')
@ -448,9 +450,11 @@ class ZeroconfVcardWindow:
if value and entry_name == 'URL_label':
if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0):
widget = gtk.LinkButton(value, value)
widget.set_alignment(0, 0)
else:
widget = gtk.Label(value)
widget.set_selectable(True)
widget.set_alignment(0, 0)
table = self.xml.get_widget('personal_info_table')
table.attach(widget, 1, 4, 3, 4, yoptions = 0)
else: