diff --git a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems.png b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems.png new file mode 100644 index 000000000..b5426ede6 Binary files /dev/null and b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems.png differ diff --git a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems@2x.png b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems@2x.png deleted file mode 100644 index 40cdd2876..000000000 Binary files a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full-NewItems@2x.png and /dev/null differ diff --git a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full@2x.png b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full.png similarity index 94% rename from app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full@2x.png rename to app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full.png index 77416bb61..688fe34a6 100644 Binary files a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full@2x.png and b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Full.png differ diff --git a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero@2x.png b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero.png similarity index 94% rename from app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero@2x.png rename to app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero.png index 4e26eda09..5702a8cf4 100644 Binary files a/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero@2x.png and b/app/internal_packages/system-tray/assets/linux/MenuItem-Inbox-Zero.png differ diff --git a/app/src/browser/system-tray-manager.es6 b/app/src/browser/system-tray-manager.es6 index e72b09269..ee6c6c75f 100644 --- a/app/src/browser/system-tray-manager.es6 +++ b/app/src/browser/system-tray-manager.es6 @@ -83,16 +83,13 @@ class SystemTrayManager { }; updateTraySettings(iconPath, unreadString, isTemplateImg) { - if (this._iconPath === iconPath && this._unreadString === unreadString) return; - - this._iconPath = iconPath; - this._unreadString = unreadString; - - if (this._tray) { - const icon = _getIcon(this._iconPath, isTemplateImg); - const tooltip = _getTooltip(unreadString); - this._tray.setImage(icon); - this._tray.setToolTip(tooltip); + if (this._iconPath !== iconPath) { + this._iconPath = iconPath; + if (this._tray) this._tray.setImage(_getIcon(this._iconPath, isTemplateImg)); + } + if (this._unreadString !== unreadString) { + this._unreadString = unreadString; + if (this._tray) this._tray.setToolTip(_getTooltip(unreadString)); } }