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