[PR #435] [MERGED] Enabled empty tray icon #1177

Open
opened 2026-01-29 16:58:07 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/435
Author: @writzx
Created: 6/15/2020
Status: Merged
Merged: 7/4/2020
Merged by: @GregorBiswanger

Base: masterHead: master


📝 Commits (1)

📊 Changes

3 files changed (+27 additions, -12 deletions)

View changed files

📝 ElectronNET.API/Tray.cs (+9 -0)
📝 ElectronNET.Host/api/tray.js (+9 -5)
📝 ElectronNET.Host/api/tray.ts (+9 -7)

📄 Description

This allows empty tray icon to be placed without a context menu. Useful for cases when only minimize/close to tray is implemented.

This somehow also fixes menu icon click events in macOS. (probably a thing in base electronjs as well). Not sure about other OS though.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/435 **Author:** [@writzx](https://github.com/writzx) **Created:** 6/15/2020 **Status:** ✅ Merged **Merged:** 7/4/2020 **Merged by:** [@GregorBiswanger](https://github.com/GregorBiswanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`de16376`](https://github.com/ElectronNET/Electron.NET/commit/de1637672aa74571feb17090bb3edd6f3667ba63) enabled empty tray icon ### 📊 Changes **3 files changed** (+27 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `ElectronNET.API/Tray.cs` (+9 -0) 📝 `ElectronNET.Host/api/tray.js` (+9 -5) 📝 `ElectronNET.Host/api/tray.ts` (+9 -7) </details> ### 📄 Description This allows empty tray icon to be placed without a context menu. Useful for cases when only minimize/close to tray is implemented. This somehow also fixes menu icon click events in macOS. (probably a thing in base electronjs as well). Not sure about other OS though. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:58:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1177