diff options
Diffstat (limited to 'lib/main.vala')
-rw-r--r-- | lib/main.vala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/main.vala b/lib/main.vala index 55c46b02..a54cf904 100644 --- a/lib/main.vala +++ b/lib/main.vala @@ -127,6 +127,15 @@ public class Indicator.Keyboard.Service : Object { if (ibus == null) { IBus.init (); ibus = new IBus.Bus (); + ((!) ibus).connected.connect (() => { + if (sources_menu != null) { + update_sources_menu (); + } + + if (indicator_action != null) { + update_indicator_action (); + } + }); } return (!) ibus; |