Some tooltip text beautification

This commit is contained in:
Sanel Zukan 2010-03-07 23:14:54 +00:00
parent 83a14d9a27
commit 617bebaab2

View File

@ -262,10 +262,10 @@ void CPUMonitor::update_status() {
// Update tooltip // Update tooltip
static char load[255]; static char load[255];
snprintf(load, sizeof(load)-1, snprintf(load, sizeof(load)-1,
_("CPU Load:\n" _("CPU Load\n"
"User: %d%%\n" "User: %d%%\n"
"Nice: %d%%\n" "Nice: %d%%\n"
"Sys: %d%%\n" "Sys: %d%%\n"
"Idle: %d%%"), "Idle: %d%%"),
cpu[samples()-1][0]*2, cpu[samples()-1][1]*2, cpu[samples()-1][0]*2, cpu[samples()-1][1]*2,
cpu[samples()-1][2]*2, cpu[samples()-1][3]*2); cpu[samples()-1][2]*2, cpu[samples()-1][3]*2);