[gnome-shell] autorun: use the new "media-removable" icon
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] autorun: use the new "media-removable" icon
- Date: Tue, 30 Aug 2011 19:30:21 +0000 (UTC)
commit 9e16bb85e3669f20ed1098f03989d9ff447a4473
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Aug 30 15:17:47 2011 -0400
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
js/ui/autorunManager.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/autorunManager.js b/js/ui/autorunManager.js
index 2eb2bdd..b897393 100644
--- a/js/ui/autorunManager.js
+++ b/js/ui/autorunManager.js
@@ -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 });
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]