diff --git a/src/profile_window.py b/src/profile_window.py index badcbb310..72ce0f98d 100644 --- a/src/profile_window.py +++ b/src/profile_window.py @@ -13,6 +13,8 @@ ## GNU General Public License for more details. ## +# THIS FILE IS FOR **OUR** PROFILE (when we edit our INFO) + import gtk import gobject import base64 diff --git a/src/vcard.py b/src/vcard.py index 975d39a74..7eb59cc97 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -13,6 +13,8 @@ ## GNU General Public License for more details. ## +# THIS FILE IS FOR **OTHERS'** PROFILE (when we VIEW their INFO) + import gtk import gobject import base64 @@ -129,6 +131,7 @@ class VcardWindow: widget = gtk.LinkButton(value, value) else: widget = gtk.Label(value) + widget.show() table = self.xml.get_widget('personal_info_table') table.attach(widget, 1, 4, 3, 4, yoptions = 0) else: @@ -149,7 +152,7 @@ class VcardWindow: pixbuf = gtkgui_helpers.get_scaled_pixbuf(pixbuf, 'vcard') image.set_from_pixbuf(pixbuf) continue - if i == 'ADR' or i == 'TEL' or i == 'EMAIL': + if i in ('ADR', 'TEL', 'EMAIL'): for entry in vcard[i]: add_on = '_HOME' if 'WORK' in entry: