comparison src/gtkblist.c @ 10780:33fe0093bbba

[gaim-migrate @ 12403] " It looks silly to have "Idle" in a tooltip by itself only to show "Status: Idle" later on. This patch corrects this. NOTE: This patch doesn't make sense for oldstatus. " --Richard Laager - rlaager committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 04 Apr 2005 02:18:43 +0000
parents e4cbe9401018
children 364a2ef907ae
comparison
equal deleted inserted replaced
10779:777e42930797 10780:33fe0093bbba
2794 { 2794 {
2795 tmp = gaim_str_seconds_to_string(time(NULL) - idle_secs); 2795 tmp = gaim_str_seconds_to_string(time(NULL) - idle_secs);
2796 g_string_append_printf(str, _("\n<b>Idle:</b> %s"), tmp); 2796 g_string_append_printf(str, _("\n<b>Idle:</b> %s"), tmp);
2797 g_free(tmp); 2797 g_free(tmp);
2798 } 2798 }
2799 else
2800 g_string_append_printf(str, _("\n<b>Idle</b>"));
2801 } 2799 }
2802 2800
2803 /* Last Seen */ 2801 /* Last Seen */
2804 if ((b->present == GAIM_BUDDY_SIGNING_ON) || 2802 if ((b->present == GAIM_BUDDY_SIGNING_ON) ||
2805 (b->present == GAIM_BUDDY_OFFLINE)) 2803 (b->present == GAIM_BUDDY_OFFLINE))