~indicator-multiload/indicator-multiload/trunk

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: mh21 at mh21
  • Date: 2015-03-11 10:56:53 UTC
  • Revision ID: mh21@mh21.de-20150311105653-nyalzx6nlrzsch2l
Remove support for indicator items.

- never documented and likely not used
- scroll-wheel interface was bad

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
        datasettings.bind("menu-expressions",
278
278
                this.multi.menumodel, "expressions",
279
279
                SettingsBindFlags.DEFAULT);
280
 
        datasettings.bind("indicator-expressions",
281
 
                this.multi.labelmodel, "expressions",
282
 
                SettingsBindFlags.DEFAULT);
283
280
        datasettings.bind("description-expressions",
284
281
                this.multi.descriptionmodel, "expressions",
285
282
                SettingsBindFlags.DEFAULT);
286
 
        datasettings.bind("indicator-expression-index",
287
 
                this.multi, "indicator-index",
288
 
                SettingsBindFlags.DEFAULT);
289
283
        datasettings.bind("width",
290
284
                this.multi, "width",
291
285
                SettingsBindFlags.DEFAULT);
386
380
            stdout.printf("Original: %s\n", expressionoption);
387
381
            stdout.printf("Tokens: '%s'\n", string.joinv("' '", cache.tokens()));
388
382
            stdout.printf("Result: %s\n", cache.label());
389
 
            stdout.printf("Guide: %s\n", cache.guide());
390
383
            result = true;
391
384
        }
392
385