diff options
author | Matt Watson <mattdangerw@gmail.com> | 2015-08-03 15:46:28 -0700 |
---|---|---|
committer | Matt Watson <mattdangerw@gmail.com> | 2015-08-06 14:01:54 -0700 |
commit | b867b717bb94804427cc4bba6b54c485cb92c352 (patch) | |
tree | fdcd6501aca7540ec4c7f23b8981ab83f47d0f77 /test/utils.js | |
parent | 259f874fa34bf68c085eb7a404c2dec9d622dc14 (diff) |
search_box: add function to set text programmatically
This way we can set the search box text without triggering the
signals for settings autocomplete entries
[endlessm/eos-sdk#3442]
Diffstat (limited to 'test/utils.js')
-rw-r--r-- | test/utils.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/utils.js b/test/utils.js new file mode 100644 index 0000000..2597fd8 --- /dev/null +++ b/test/utils.js @@ -0,0 +1,6 @@ +const Gtk = imports.gi.Gtk; + +function update_gui () { + while (Gtk.events_pending()) + Gtk.main_iteration(false); +} |