not too nice but imo better than jumping indicator positions: preceding zero, i.e. in /usr/bin/indicator-sysmonitor ...
def _fetch(self): mem_pct = self._fetch_mem() cpu_pct = self._fetch_cpu() return {'cpu': '%02.0f%%' % cpu_pct, 'mem': '%02.0f%%' % mem_pct, }
not too nice but imo better than jumping indicator positions: preceding zero, i.e. in /usr/bin/ indicator- sysmonitor ...
def _fetch(self):
mem_pct = self._fetch_mem()
cpu_pct = self._fetch_cpu()
return {'cpu': '%02.0f%%' % cpu_pct,
'mem': '%02.0f%%' % mem_pct,
}