From bbc0940942f0a765f67e64e2e470682253c4b221 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 25 Sep 2006 21:14:59 +0000 Subject: [PATCH] better varname --- src/vcard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vcard.py b/src/vcard.py index 8bf5b3907..aff36caa6 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -126,11 +126,11 @@ class VcardWindow: try: if value and entry_name == 'URL_label': if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0): - url_label = gtk.LinkButton(value, value) + widget = gtk.LinkButton(value, value) else: - url_label = gtk.Label(value) + widget = gtk.Label(value) table = self.xml.get_widget('personal_info_table') - table.attach(url_label, 1, 4, 3, 4, yoptions = 0) + table.attach(widget, 1, 4, 3, 4, yoptions = 0) else: self.xml.get_widget(entry_name).set_text(value) except AttributeError: