Trigger title change for electron integration.
This commit is contained in:
parent
bfbf8cd164
commit
c28dc561c0
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ class Widget
|
|||
return if !electron
|
||||
remote = electron.remote
|
||||
ipc = electron.ipcRenderer
|
||||
|
||||
App.Event.bind('window-title-set', (arg) ->
|
||||
ipc.send('window-title-set', arg)
|
||||
)
|
||||
App.Event.bind('online_notification_counter', (e) ->
|
||||
setBadge(e)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue