From 010eb2c9f3c67b24d53cfb57e7e734928734a8b8 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 12 Oct 2006 08:28:16 +0000
Subject: [PATCH] do not align jid to bottom in roster tooltips

---
 src/tooltips.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/tooltips.py b/src/tooltips.py
index 6f7a2d2451..c363e20abd 100644
--- a/src/tooltips.py
+++ b/src/tooltips.py
@@ -527,10 +527,7 @@ class RosterTooltip(NotificationAreaTooltip):
 				vcard_table.attach(label, 1, 2, vcard_current_row,
 					vcard_current_row + 1, gtk.FILL,  vertical_fill, 0, 0)
 				label = gtk.Label()
-				if num_resources > 1 and not properties:
-					label.set_alignment(0, 1)
-				else:
-					label.set_alignment(0, 0)
+				label.set_alignment(0, 0)
 				label.set_markup(property[1])
 				label.set_line_wrap(True)
 				vcard_table.attach(label, 2, 3, vcard_current_row,
-- 
GitLab