~indicator-multiload/indicator-multiload/trunk

« back to all changes in this revision

Viewing changes to src/trayindicatorview.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:
21
21
    private string icondirectory;
22
22
 
23
23
 
24
 
    public string label { set {} }
25
 
    public string guide { set {} }
26
 
 
27
24
    public string icon {
28
25
        set {
29
26
            var path = Path.build_filename(this.icondirectory, value + ".png");
56
53
                activate_time);
57
54
        });
58
55
 
59
 
        this.indicator.scroll_event.connect((event) => {
60
 
            this.scroll_event(1, event.direction);
61
 
            return true;
62
 
        });
63
 
 
64
56
        this.indicator.button_release_event.connect((event) => {
65
57
            if (event.button == 2 &&
66
58
                event.type == Gdk.EventType.BUTTON_RELEASE) {