~ubuntu-branches/ubuntu/trusty/gnome-shell/trusty-proposed

« back to all changes in this revision

Viewing changes to js/ui/link.js

Tags: upstream-3.3.90
ImportĀ upstreamĀ versionĀ 3.3.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
const Signals = imports.signals;
5
5
const St = imports.gi.St;
6
6
 
7
 
function Link(props) {
8
 
    this._init(props);
9
 
}
 
7
const Link = new Lang.Class({
 
8
    Name: 'Link',
10
9
 
11
 
Link.prototype = {
12
10
    _init : function(props) {
13
11
        let realProps = { reactive: true,
14
12
                          track_hover: true,
19
17
 
20
18
        this.actor = new St.Button(realProps);
21
19
    }
22
 
};
23
 
 
 
20
});
24
21
Signals.addSignalMethods(Link.prototype);