From c28dc561c05a693d04aedf13f7fb3ccb6eff2849 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 8 Apr 2016 06:54:24 +0200 Subject: [PATCH] Trigger title change for electron integration. --- .../javascripts/app/controllers/widget/electron_events.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/app/controllers/widget/electron_events.coffee b/app/assets/javascripts/app/controllers/widget/electron_events.coffee index 920f4f658..f79309ed9 100644 --- a/app/assets/javascripts/app/controllers/widget/electron_events.coffee +++ b/app/assets/javascripts/app/controllers/widget/electron_events.coffee @@ -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) )