[gnome-shell/eos3.8: 219/255] appDisplay: Use createIcon param if provided when creating an AppIcon
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 219/255] appDisplay: Use createIcon param if provided when creating an AppIcon
- Date: Wed, 10 Jun 2020 19:16:24 +0000 (UTC)
commit 96399302f239f60fa84d0ea80d23af8f9a8c42dd
Author: Andre Moreira Magalhaes <andre endlessm com>
Date: Thu Apr 16 00:38:49 2020 -0300
appDisplay: Use createIcon param if provided when creating an AppIcon
https://phabricator.endlessm.com/T29781
js/ui/appDisplay.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 0778b904f0..76c8b0046c 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2025,7 +2025,9 @@ var AppIcon = GObject.registerClass({
this._showMenu = appIconParams['showMenu'];
delete iconParams['showMenu'];
- iconParams['createIcon'] = this._createIcon.bind(this);
+ iconParams = Params.parse(iconParams, {
+ createIcon: this._createIcon.bind(this),
+ }, true);
iconParams['setSizeManually'] = false;
super._init({
@@ -2033,9 +2035,6 @@ var AppIcon = GObject.registerClass({
}, iconParams);
let buttonParams = { button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO };
- iconParams = Params.parse(iconParams, {
- createIcon: this._createIcon.bind(this),
- }, true);
this._iconContainer = new St.Widget({ layout_manager: new Clutter.BinLayout(),
x_expand: true, y_expand: true });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]