Skip to content
Snippets Groups Projects
Commit b973c4c2 authored by steve-e's avatar steve-e
Browse files

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

parent b3f3a812
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment