Skip to content

Commit

Permalink
Revert "possible fix for #569 mac double tray"
Browse files Browse the repository at this point in the history
This reverts commit 2d55f0c.
  • Loading branch information
garfield69 committed Nov 10, 2015
1 parent 47104de commit a162feb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/app.standalone.systray.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ if (navigator.userAgent.toLowerCase().indexOf('standalone') !== -1) {
// Show tray
tray = new gui.Tray({
title: navigator.userAgent,
icon: 'img/logo/icon64.png'
icon: 'img/logo/icon64.png',
menu: menu
});
// fix for issue https://github.com/nwjs/nw.js/issues/1903
tray.tooltip = navigator.userAgent;
// possible fix for mac double tray issue #569 by ensuring menu is bound to tray via property rather than option
// see https://github.com/nwjs/nw.js/wiki/Tray#traymenu
tray.menu = menu;

// handle tray click
var trayClick = function() {
Expand Down

0 comments on commit a162feb

Please sign in to comment.