[gnome-shell] messageTray: Remove unused method parameter
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Remove unused method parameter
- Date: Fri, 6 Jul 2012 14:16:30 +0000 (UTC)
commit 02428019fa7fc5637d1ac29d97158c07c989e3f6
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Jun 14 19:46:21 2012 +0200
messageTray: Remove unused method parameter
The alignment of the arrow tip regarding the source actor is set with
setSourceAlignment() and its default is already 0.5 .
https://bugzilla.gnome.org/show_bug.cgi?id=678164
js/ui/messageTray.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index f0b343e..51d4be3 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2490,11 +2490,10 @@ const MessageTray = new Lang.Class({
},
_adjustSummaryBoxPointerPosition: function() {
- // The position of the arrow origin should be the same as center of this._clickedSummaryItem.actor
if (!this._clickedSummaryItem)
return;
- this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0, 0.5);
+ this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0);
},
_unsetClickedSummaryItem: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]