[gnome-shell/T29763: 185/249] appDisplay: Fix call to AppIcon constructor
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/T29763: 185/249] appDisplay: Fix call to AppIcon constructor
- Date: Thu, 21 May 2020 18:24:45 +0000 (UTC)
commit 8d9f98cb9311b9488861122470d26c44a51dd313
Author: Andre Moreira Magalhaes <andre endlessm com>
Date: Fri Apr 3 11:19:04 2020 -0300
appDisplay: Fix call to AppIcon constructor
AppIcon receives only one param on constructor, fix it.
https://phabricator.endlessm.com/T28780
js/ui/appDisplay.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index cfb4c12374..343d57b277 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2463,19 +2463,16 @@ class SystemActionIcon extends Search.GridSearchResult {
var AppCenterIcon = GObject.registerClass(
class AppCenterIcon extends AppIcon {
_init() {
- let viewIconParams = {
+ let iconParams = {
isDraggable: false,
showMenu: false,
- };
-
- let iconParams = {
createIcon: this._createIcon.bind(this),
};
let appSys = Shell.AppSystem.get_default();
let app = appSys.lookup_app(EOS_APP_CENTER_ID);
- super._init(app, viewIconParams, iconParams);
+ super._init(app, iconParams);
this._id = EOS_APP_CENTER_ID;
this._name = this.app.get_generic_name();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]