Skip to content

Commit 1f2b819

Browse files
committed
Merge pull request nwjs#2774 from mrfabbri/fix-703
[OSX] Fix alticon property of Tray not being updated properly
2 parents 0c61328 + fd240ae commit 1f2b819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/tray/tray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Tray.prototype.__defineSetter__('icon', function(val) {
100100
Tray.prototype.__defineSetter__('alticon', function(val) {
101101
v8_util.getHiddenValue(this, 'option').shadowAlticon = String(val);
102102
var real_path = val == '' ? '' : nw.getAbsolutePath(val);
103-
this.handleSetter('alticon', 'SetAlticon', String, real_path);
103+
this.handleSetter('alticon', 'SetAltIcon', String, real_path);
104104
});
105105

106106
Tray.prototype.__defineGetter__('tooltip', function() {

0 commit comments

Comments
 (0)