mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
panel: Pass a full pathname to AnimatedIcon
For classic mode, we want to use a different styling for the spinner, so we will pick up the image filename from CSS to make use of mode specific styling. As the CSS will give us a full pathname, adapt the API to take a full pathname instead of building it inside AnimatedIcon from the passed basename. https://bugzilla.gnome.org/show_bug.cgi?id=693688
This commit is contained in:
parent
ff544450a5
commit
2fc76e6d9e
3 changed files with 8 additions and 6 deletions
|
|
@ -774,7 +774,8 @@ const LoginDialog = new Lang.Class({
|
|||
},
|
||||
|
||||
_prepareDialog: function(forSecret, hold) {
|
||||
this._workSpinner = new Panel.AnimatedIcon('process-working.svg', WORK_SPINNER_ICON_SIZE);
|
||||
let spinnerIcon = global.datadir + '/theme/process-working.svg';
|
||||
this._workSpinner = new Panel.AnimatedIcon(spinnerIcon, WORK_SPINNER_ICON_SIZE);
|
||||
this._workSpinner.actor.opacity = 0;
|
||||
this._workSpinner.actor.show();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue