This commit is contained in:
foudfou 2012-05-12 16:45:04 +02:00
parent 620abcb924
commit 767f9487d0
1 changed files with 3 additions and 2 deletions

View File

@ -585,10 +585,11 @@ firetray.Handler.showHideAllWindows = function(gtkStatusIcon, userData) {
for(var key in firetray.Handler.windows);
firetray.Window.activate(key);
} else if ((0.5 < visibilityRate) && (visibilityRate < 1)
|| visibilityRate === 0) // TODO: should be configurable
|| visibilityRate === 0) { // TODO: should be configurable
firetray.Handler.showAllWindows();
else
} else {
firetray.Handler.hideAllWindows();
}
let stopPropagation = true;
return stopPropagation;