mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
st: always use GFile internally
We're moving the theme infrastructure towards GResource, so as a first step move all the loading to use GFiles instead of URIs or paths. https://bugzilla.gnome.org/show_bug.cgi?id=736936
This commit is contained in:
parent
38add2e78b
commit
328bb1c21b
18 changed files with 192 additions and 200 deletions
|
|
@ -194,7 +194,7 @@ const ModalDialog = new Lang.Class({
|
|||
},
|
||||
|
||||
placeSpinner: function(layoutInfo) {
|
||||
let spinnerIcon = global.datadir + '/theme/process-working.svg';
|
||||
let spinnerIcon = Gio.File.new_for_path(global.datadir + '/theme/process-working.svg');
|
||||
this._workSpinner = new Animation.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