changeset 19644:5c92f70f8b0c

merge of '13a4e3e02e0fa91a6083954093807fa58bab04e8' and 'aa651fe1eac8c4bd79a37a2fdfb5e528dc759b07'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 04 Sep 2007 18:19:39 +0000
parents 1481ea6bb805 (diff) ec7b92cbf49f (current diff)
children 55d3f1622cf7
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Tue Sep 04 18:08:14 2007 +0000
+++ b/pidgin/gtkblist.c	Tue Sep 04 18:19:39 2007 +0000
@@ -3101,7 +3101,8 @@
 			purple_notify_user_info_add_pair(user_info, _("Status"), _("Offline"));
 		}
 
-		if (prpl_info && prpl_info->tooltip_text)
+		if (purple_account_is_connected(b->account) &&
+				prpl_info && prpl_info->tooltip_text)
 		{
 			/* Additional text from the PRPL */
 			prpl_info->tooltip_text(b, user_info, full);