Skip to content

Commit fd240ae

Browse files
committed
[OSX] Fix alticon property of Tray not being updated properly
- Fix the setter of the `alticon` property (typo in method name). Fix nwjs#703
1 parent 2fc97ad commit fd240ae

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)