renameFolderMenu: Don't save the source

The source actor is already tracked by the PopupMenu internally as
sourceActor, while nothing in RenameFolderMenu uses the source, so we can
drop this.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720
This commit is contained in:
Marco Trevisan (Treviño) 2019-09-11 20:14:27 +02:00 committed by Florian Müllner
parent 42188b7698
commit d6ba6dc554

View File

@ -1717,7 +1717,6 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu {
constructor(source, folder) { constructor(source, folder) {
super(source.actor, 0.5, St.Side.BOTTOM); super(source.actor, 0.5, St.Side.BOTTOM);
this._source = source;
this._folder = folder; this._folder = folder;
// We want to keep the item hovered while the menu is up // We want to keep the item hovered while the menu is up