summaryrefslogtreecommitdiff
path: root/modules/gtk3/caribou-gtk-module.vala
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gtk3/caribou-gtk-module.vala')
-rw-r--r--modules/gtk3/caribou-gtk-module.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/gtk3/caribou-gtk-module.vala b/modules/gtk3/caribou-gtk-module.vala
index 8be149c..6a7f553 100644
--- a/modules/gtk3/caribou-gtk-module.vala
+++ b/modules/gtk3/caribou-gtk-module.vala
@@ -21,8 +21,11 @@ namespace Caribou {
"/org/gnome/Caribou/Keyboard");
add_tracker ();
- GLib.Timeout.add (60, () => { add_tracker ();
- return true; });
+ // Need to use a timeout because there is currently no other
+ // way to know whether a new window has been created
+ // https://bugzilla.gnome.org/show_bug.cgi?id=655828
+ GLib.Timeout.add_seconds (10, () => { add_tracker ();
+ return true; });
} catch (Error e) {
stderr.printf ("%s\n", e.message);
}