# HG changeset patch # User Mark Doliner # Date 1133827634 0 # Node ID b0f518af7cad6cc7c5bdf5f4e32dac4efb9894f9 # Parent 7f1c4630799c72284bf568b86af7f0ffdc1d545c [gaim-migrate @ 14670] Show the idle time before the prpl status text in the blist, and don't put the time in brackets. I think all this only applies to the big list. committer: Tailor Script diff -r 7f1c4630799c -r b0f518af7cad src/gtkblist.c --- a/src/gtkblist.c Tue Dec 06 00:05:42 2005 +0000 +++ b/src/gtkblist.c Tue Dec 06 00:07:14 2005 +0000 @@ -2970,9 +2970,9 @@ imin = ((t - idle_secs) / 60) % 60; if (ihrs) - idletime = g_strdup_printf(_("Idle (%dh %02dm) "), ihrs, imin); + idletime = g_strdup_printf(_("Idle %dh %02dm "), ihrs, imin); else - idletime = g_strdup_printf(_("Idle (%dm) "), imin); + idletime = g_strdup_printf(_("Idle %dm "), imin); } else idletime = g_strdup(_("Idle ")); @@ -2985,25 +2985,25 @@ text = g_strdup_printf("%s\n" "%s%s%s", dim_grey(), esc, dim_grey(), - statustext != NULL ? statustext : "", + idletime != NULL ? idletime : "", (idletime != NULL && statustext != NULL) ? " - " : "", - idletime != NULL ? idletime : ""); + statustext != NULL ? statustext : ""); } else if (statustext == NULL && idletime == NULL && GAIM_BUDDY_IS_ONLINE(b)) { text = g_strdup(esc); } else { if (selected) text = g_strdup_printf("%s\n" "%s%s%s", esc, - statustext != NULL ? statustext : "", + idletime != NULL ? idletime : "", (idletime != NULL && statustext != NULL) ? " - " : "", - idletime != NULL ? idletime : ""); + statustext != NULL ? statustext : ""); else text = g_strdup_printf("%s\n" "%s%s%s", esc, dim_grey(), - statustext != NULL ? statustext : "", + idletime != NULL ? idletime : "", (idletime != NULL && statustext != NULL) ? " - " : "", - idletime != NULL ? idletime : ""); + statustext != NULL ? statustext : ""); } if (idletime) g_free(idletime);