From 3e2d0b09882551bda0ae80f66eaadd13018e0b06 Mon Sep 17 00:00:00 2001 From: rpm-build Date: Wed, 14 Oct 2020 14:09:59 -0400 Subject: [PATCH 4/5] overview: Initialize activationTime variable Fixes some log spew in classic mode --- js/ui/overview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/overview.js b/js/ui/overview.js index 2240576..3ce3796 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -65,60 +65,61 @@ var ShellInfo = new Lang.Class({ this._source.connect('destroy', () => { this._source = null; }); Main.messageTray.add(this._source); } let notification = null; if (this._source.notifications.length == 0) { notification = new MessageTray.Notification(this._source, text, null); notification.setTransient(true); notification.setForFeedback(forFeedback); } else { notification = this._source.notifications[0]; notification.update(text, null, { clear: true }); } this._undoCallback = undoCallback; if (undoCallback) notification.addAction(_("Undo"), this._onUndoClicked.bind(this)); this._source.notify(notification); } }); var Overview = new Lang.Class({ Name: 'Overview', _init() { this._overviewCreated = false; this._initCalled = false; + this._activationTime = 0; Main.sessionMode.connect('updated', this._sessionUpdated.bind(this)); this._sessionUpdated(); }, _createOverview() { if (this._overviewCreated) return; if (this.isDummy) return; this._overviewCreated = true; this._overview = new St.BoxLayout({ name: 'overview', /* Translators: This is the main view to select activities. See also note for "Activities" string. */ accessible_name: _("Overview"), vertical: true }); this._overview.add_constraint(new LayoutManager.MonitorConstraint({ primary: true })); this._overview._delegate = this; // The main Background actors are inside global.window_group which are // hidden when displaying the overview, so we create a new // one. Instances of this class share a single CoglTexture behind the // scenes which allows us to show the background with different // rendering options without duplicating the texture data. this._backgroundGroup = new Meta.BackgroundGroup({ reactive: true }); Main.layoutManager.overviewGroup.add_child(this._backgroundGroup); this._bgManagers = []; -- 2.26.2