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
|
return if !electron
|
||||||
remote = electron.remote
|
remote = electron.remote
|
||||||
ipc = electron.ipcRenderer
|
ipc = electron.ipcRenderer
|
||||||
|
|
||||||
|
App.Event.bind('window-title-set', (arg) ->
|
||||||
|
ipc.send('window-title-set', arg)
|
||||||
|
)
|
||||||
App.Event.bind('online_notification_counter', (e) ->
|
App.Event.bind('online_notification_counter', (e) ->
|
||||||
setBadge(e)
|
setBadge(e)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue