diff options
| author | william341 <[email protected]> | 2017-02-25 12:36:26 -0700 |
|---|---|---|
| committer | william341 <[email protected]> | 2017-02-25 12:36:26 -0700 |
| commit | c4f855f3a559195d7b683ec4b96a18c42ce7b5fb (patch) | |
| tree | 0900c6374d2cb5b2141f534926d1401256b31745 /ShiftOS.WinForms/WinformsDesktop.cs | |
| parent | ed5b6549369d470f8aaafbae7716081448377369 (diff) | |
| download | shiftos_thereturn-c4f855f3a559195d7b683ec4b96a18c42ce7b5fb.tar.gz shiftos_thereturn-c4f855f3a559195d7b683ec4b96a18c42ce7b5fb.tar.bz2 shiftos_thereturn-c4f855f3a559195d7b683ec4b96a18c42ce7b5fb.zip | |
fix notification mark as read not updating
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
| -rw-r--r-- | ShiftOS.WinForms/WinformsDesktop.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index 957c793..fdb249a 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -68,6 +68,12 @@ namespace ShiftOS.WinForms }; + NotificationDaemon.NotificationRead += (note) => + { + btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")"; + + }; + this.LocationChanged += (o, a) => { if (this.Left != 0) |
