~indicator-multiload/indicator-multiload/trunk

« back to all changes in this revision

Viewing changes to src/providers.vala

  • Committer: mh21 at mh21
  • Date: 2017-02-24 11:53:48 UTC
  • Revision ID: mh21@mh21.de-20170224115348-qnslmzm6f9x0wu0m
Add size2 function with IEC units (base 2).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        this.update();
30
30
        this.functions = {
31
31
            new DecimalsFunction(), new SizeFunction(), new SpeedFunction(),
32
 
            new PercentFunction(), new FrequencyFunction(), new BitrateFunction()
 
32
            new PercentFunction(), new FrequencyFunction(), new BitrateFunction(),
 
33
            new Size2Function()
33
34
        };
34
35
    }
35
36