Fixing system tray icon.

This commit is contained in:
Burak Kaan Köse
2025-10-21 15:40:19 +02:00
parent 3b3c878d0e
commit ae7d576967
6 changed files with 51 additions and 275 deletions
@@ -1,36 +0,0 @@
using System;
namespace Wino.Core.Domain.Interfaces;
public interface ISystemTrayService
{
/// <summary>
/// Initializes the system tray icon.
/// </summary>
void Initialize();
/// <summary>
/// Shows the system tray icon.
/// </summary>
void Show();
/// <summary>
/// Hides the system tray icon.
/// </summary>
void Hide();
/// <summary>
/// Event fired when the tray icon is double-clicked.
/// </summary>
event EventHandler? TrayIconDoubleClicked;
/// <summary>
/// Gets whether the tray icon is currently minimized.
/// </summary>
bool IsMinimizedToTray { get; }
/// <summary>
/// Disposes of the system tray resources.
/// </summary>
void Dispose();
}
@@ -686,6 +686,8 @@
"SystemFolderConfigDialogValidation_InboxSelected": "You can't assign Inbox folder to any other system folder.",
"SystemFolderConfigSetupSuccess_Message": "System folders are successfully configured.",
"SystemFolderConfigSetupSuccess_Title": "System Folders Setup",
"SystemTrayMenu_ShowWino": "Open Wino Mail",
"SystemTrayMenu_ExitWino": "Exit",
"TestingImapConnectionMessage": "Testing server connection...",
"TitleBarServerDisconnectedButton_Description": "Wino is disconnected from the network. Click reconnect to restore connection.",
"TitleBarServerDisconnectedButton_Title": "no connection",