Alignement and bold typing changes in vcard and profile window. Nothing as usual.
This commit is contained in:
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
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue