Refactor, tidy up and trim the fat!

This commit is contained in:
Lea Anthony
2021-01-13 20:19:01 +11:00
parent 3f53e8fd5f
commit 583153383a
18 changed files with 276 additions and 143 deletions

View File

@@ -206,6 +206,10 @@ func (c *Client) UpdateTray(menu *menu.Menu) {
C.UpdateTray(c.app.app, c.app.string2CString(string(trayMenuJSON)))
}
func (c *Client) UpdateTrayMenu(trayMenuJSON string) {
C.UpdateTrayMenu(c.app.app, c.app.string2CString(trayMenuJSON))
}
func (c *Client) UpdateTrayLabel(label string) {
C.UpdateTrayLabel(c.app.app, c.app.string2CString(label))
}