Trigger title change for electron integration.

This commit is contained in:
Martin Edenhofer 2016-04-08 06:54:24 +02:00
parent bfbf8cd164
commit c28dc561c0

View file

@ -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)
)