[gnome-shell] [panel.js] Remove duplicated 'let'
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [panel.js] Remove duplicated 'let'
- Date: Tue, 16 Mar 2010 14:51:26 +0000 (UTC)
commit 087ac8470e65222629345482b95c2a663ddb5e20
Author: Colin Walters <walters verbum org>
Date: Tue Mar 16 10:51:05 2010 -0400
[panel.js] Remove duplicated 'let'
Original fix from Maxim Ermilov <zaspire rambler ru>
js/ui/panel.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 6915bc5..e35a655 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -226,7 +226,7 @@ AppPanelMenu.prototype = {
let iconWidth = childBox.x2 - childBox.x1;
- let [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size();
+ [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size();
yPadding = Math.floor(Math.max(0, allocHeight - naturalHeight) / 2);
childBox.y1 = yPadding;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]