autorun: use the new "media-removable" icon

gnome-icon-theme recently added this icon for removable devices.

https://bugzilla.gnome.org/show_bug.cgi?id=657757
This commit is contained in:
Cosimo Cecchi 2011-08-30 15:17:47 -04:00
parent 887b41bce3
commit 9e16bb85e3

View File

@ -330,7 +330,8 @@ AutorunResidentSource.prototype = {
},
createNotificationIcon: function(iconSize) {
return new St.Icon ({ icon_name: 'drive-harddisk',
return new St.Icon ({ icon_name: 'media-removable',
icon_type: St.IconType.FULLCOLOR,
icon_size: iconSize ? iconSize : this.ICON_SIZE });
}
}