animation: Turn Spinner animate parameter into Params option

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/834
This commit is contained in:
Joonas Henriksson
2019-11-18 22:18:29 +02:00
parent 7e8884a601
commit 96ac00b53c
5 changed files with 23 additions and 6 deletions

View File

@@ -234,7 +234,9 @@ var AppMenuButton = GObject.registerClass({
this._overviewHidingId = Main.overview.connect('hiding', this._sync.bind(this));
this._overviewShowingId = Main.overview.connect('showing', this._sync.bind(this));
this._spinner = new Animation.Spinner(PANEL_ICON_SIZE, true);
this._spinner = new Animation.Spinner(PANEL_ICON_SIZE, {
animate: true,
});
this._container.add_actor(this._spinner.actor);
let menu = new AppMenu(this);