diff options
author | William Hua <william.hua@canonical.com> | 2013-11-22 11:59:14 -0500 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-11-22 11:59:14 -0500 |
commit | cca1f055a67a1372c425e5e2a63be2b82676d6d2 (patch) | |
tree | e2cf07a019b6c341d0666982834b87e6d4e87b02 | |
parent | 7405049008cd6a7cc72c84bf9b9e087f90be95cc (diff) | |
download | ayatana-indicator-keyboard-cca1f055a67a1372c425e5e2a63be2b82676d6d2.tar.gz ayatana-indicator-keyboard-cca1f055a67a1372c425e5e2a63be2b82676d6d2.tar.bz2 ayatana-indicator-keyboard-cca1f055a67a1372c425e5e2a63be2b82676d6d2.zip |
Update window sources when window stack is available.
-rw-r--r-- | lib/main.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/main.vala b/lib/main.vala index 41bf2a8e..ffc558ba 100644 --- a/lib/main.vala +++ b/lib/main.vala @@ -806,6 +806,7 @@ public class Indicator.Keyboard.Service : Object { private void handle_window_stack_name_appeared (DBusConnection connection, string name, string name_owner) { try { window_stack = Bus.get_proxy_sync (BusType.SESSION, name, "/com/canonical/Unity/WindowStack"); + update_window_sources (); } catch (IOError error) { warning ("error: %s", error.message); } |