From 02428019fa7fc5637d1ac29d97158c07c989e3f6 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 14 Jun 2012 19:46:21 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index f0b343e7a..51d4be35e 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() {