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

« back to all changes in this revision

Viewing changes to js/misc/history.js

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
const DEFAULT_LIMIT = 512;
9
9
 
10
 
function HistoryManager(params) {
11
 
    this._init(params);
12
 
}
 
10
const HistoryManager = new Lang.Class({
 
11
    Name: 'HistoryManager',
13
12
 
14
 
HistoryManager.prototype = {
15
13
    _init: function(params) {
16
14
        params = Params.parse(params, { gsettingsKey: null,
17
15
                                        limit: DEFAULT_LIMIT,
111
109
        if (this._key)
112
110
            global.settings.set_strv(this._key, this._history);
113
111
    }
114
 
};
 
112
});
115
113
Signals.addSignalMethods(HistoryManager.prototype);