123
123
#define _unit(s) (((s >> 20) == 0) ? D_("Mb") : D_("Gb"))
124
124
#define _append_value_from_kb(pInfo, s) t = _convert_from_kb (s); g_string_append_printf (pInfo, t<10 ? "%.1f" : "%.0f", t); g_string_append (pInfo, _unit(s));
128
128
if (!myConfig.bShowRam && ! myConfig.bShowSwap)
129
129
cd_sysmonitor_get_ram_data (myApplet); // le thread ne passe pas par la => pas de conflit.