Fix some more symbolic icon names

Reviewed by Jasper St. Pierre in IRC.
This commit is contained in:
Giovanni Campagna 2012-08-30 22:20:19 +02:00
parent 82c8aad157
commit dc10e61a20
4 changed files with 4 additions and 4 deletions

View File

@ -171,7 +171,7 @@ const UserListItem = new Lang.Class({
if (GLib.file_test(iconFileName, GLib.FileTest.EXISTS))
this._setIconFromFile(iconFileName, 'login-dialog-user-list-item-icon');
else
this._setIconFromName('avatar-default', 'login-dialog-user-list-item-icon');
this._setIconFromName('avatar-default-symbolic', 'login-dialog-user-list-item-icon');
},
syncStyleClasses: function() {

View File

@ -391,7 +391,7 @@ const EndSessionDialog = new Lang.Class({
if (GLib.file_test(iconFile, GLib.FileTest.EXISTS))
this._setIconFromFile(iconFile, dialogContent.iconStyleClass);
else
this._setIconFromName('avatar-default', dialogContent.iconStyleClass);
this._setIconFromName('avatar-default-symbolic', dialogContent.iconStyleClass);
} else if (dialogContent.iconName) {
this._setIconFromName(dialogContent.iconName,
dialogContent.iconStyleClass);

View File

@ -321,7 +321,7 @@ const AuthenticationDialog = new Lang.Class({
if (iconFile.query_exists(null)) {
icon = new Gio.FileIcon({file: iconFile});
} else {
icon = new Gio.ThemedIcon({name: 'avatar-default'});
icon = new Gio.ThemedIcon({name: 'avatar-default-symbolic'});
}
this._userIcon.set_gicon (icon);
this._userIcon.show();

View File

@ -1771,7 +1771,7 @@ const NMApplet = new Lang.Class({
wrapper._activationFailedId = wrapper.connect('activation-failed', Lang.bind(this, function(device, reason) {
// XXX: nm-applet has no special text depending on reason
// but I'm not sure of this generic message
this._notifyForDevice(device, 'network-error',
this._notifyForDevice(device, 'network-error-symbolic',
_("Connection failed"),
_("Activation of network connection failed"),
MessageTray.Urgency.HIGH);