comparison src/gtkblist.c @ 12979:78f8ef7f0f6d

[gaim-migrate @ 15332] Did we really intend to remove idle times from tooltips when Buddies->Show Idle Times was turned off? I'm betting we didn't. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 21 Jan 2006 09:45:22 +0000
parents 7bd4dbf26c00
children 4bbd39576c52
comparison
equal deleted inserted replaced
12978:17901f14d46d 12979:78f8ef7f0f6d
2647 g_string_append_printf(str, _("\n<b>Logged In:</b> %s"), tmp); 2647 g_string_append_printf(str, _("\n<b>Logged In:</b> %s"), tmp);
2648 g_free(tmp); 2648 g_free(tmp);
2649 } 2649 }
2650 2650
2651 /* Idle */ 2651 /* Idle */
2652 if (gaim_prefs_get_bool("/gaim/gtk/blist/show_idle_time") && 2652 if (gaim_presence_is_idle(presence))
2653 gaim_presence_is_idle(presence))
2654 { 2653 {
2655 idle_secs = gaim_presence_get_idle_time(presence); 2654 idle_secs = gaim_presence_get_idle_time(presence);
2656 if (idle_secs > 0) 2655 if (idle_secs > 0)
2657 { 2656 {
2658 tmp = gaim_str_seconds_to_string(time(NULL) - idle_secs); 2657 tmp = gaim_str_seconds_to_string(time(NULL) - idle_secs);