src/gtkblist.c

changeset 10992
ccf59743dae4
parent 10968
7f5963c40b21
child 11016
9990e360ee9c
--- a/src/gtkblist.c	Thu Jun 09 04:38:10 2005 +0000
+++ b/src/gtkblist.c	Thu Jun 09 04:42:27 2005 +0000
@@ -2760,7 +2760,7 @@
 
 		/* Logged In */
 		signon = gaim_presence_get_login_time(presence);
-		if (signon > 0)
+		if (GAIM_BUDDY_IS_ONLINE(b) && signon > 0)
 		{
 			tmp = gaim_str_seconds_to_string(time(NULL) - signon);
 			g_string_append_printf(str, _("\n<b>Logged In:</b> %s"), tmp);
@@ -2806,7 +2806,8 @@
 		if (!GAIM_BUDDY_IS_ONLINE(b)) {
 			g_string_append_printf(str, _("\n<b>Status:</b> Offline"));
 		}
-		else if (prpl_info && prpl_info->tooltip_text)
+
+		if (prpl_info && prpl_info->tooltip_text)
 		{
 			/* Additional text from the PRPL */
 			const char *end;

mercurial