animation: Turn Spinner animate parameter into Params option

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/832
This commit is contained in:
Joonas Henriksson
2019-11-18 22:18:29 +02:00
parent e3e1a27f2d
commit 6af25b282c
5 changed files with 19 additions and 6 deletions

View File

@ -237,7 +237,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);
let menu = new AppMenu(this);