| 2989 } |
2989 } |
| 2990 else if (!selected && !statustext) /* We handle selected text later */ |
2990 else if (!selected && !statustext) /* We handle selected text later */ |
| 2991 text = g_strdup_printf("<span color='%s'>%s</span>", dim_grey(), esc); |
2991 text = g_strdup_printf("<span color='%s'>%s</span>", dim_grey(), esc); |
| 2992 else if (!selected && !text) |
2992 else if (!selected && !text) |
| 2993 text = g_strdup_printf("<span color='%s'>%s</span>\n" |
2993 text = g_strdup_printf("<span color='%s'>%s</span>\n" |
| 2994 "<span color='%s' size='smaller'>%s%s%s</span>", |
2994 "<span color='%s' size='smaller'>%s</span>", |
| 2995 dim_grey(), esc, dim_grey(), |
2995 dim_grey(), esc, dim_grey(), |
| 2996 idletime != NULL ? idletime : "", |
|
| 2997 (idletime != NULL && statustext != NULL) ? " - " : "", |
|
| 2998 statustext != NULL ? statustext : ""); |
2996 statustext != NULL ? statustext : ""); |
| 2999 } |
2997 } |
| 3000 |
2998 |
| 3001 /* Not idle and not selected */ |
2999 /* Not idle and not selected */ |
| 3002 else if (!selected && !text) |
3000 else if (!selected && !text) |