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:

committed by
Jasper St. Pierre

parent
38add2e78b
commit
328bb1c21b
@ -273,7 +273,7 @@ const AppMenuButton = new Lang.Class({
|
||||
_onStyleChanged: function(actor) {
|
||||
let node = actor.get_theme_node();
|
||||
let [success, icon] = node.lookup_url('spinner-image', false);
|
||||
if (!success || this._spinnerIcon == icon)
|
||||
if (!success || (this._spinnerIcon && this._spinnerIcon.equal(icon)))
|
||||
return;
|
||||
this._spinnerIcon = icon;
|
||||
this._spinner = new Animation.AnimatedIcon(this._spinnerIcon, PANEL_ICON_SIZE);
|
||||
|
Reference in New Issue
Block a user