path: root/overrides
diff options
authorMatt Watson <>2015-08-03 23:34:32 -0700
committerMatt Watson <>2015-08-06 12:50:59 -0700
commit259f874fa34bf68c085eb7a404c2dec9d622dc14 (patch)
tree69a89f41c0d777e6e90e694ce02635af6035059e /overrides
parent41e6df3a8e7f130ffb0eccc9e0c3f4cd2e027bcd (diff)
search_box: don't set entry text after item selected
We'll leave it up to the application itself what to populate the entry with after an autocomplete item is selected [endlessm/eos-sdk#3442]
Diffstat (limited to 'overrides')
1 files changed, 1 insertions, 0 deletions
diff --git a/overrides/endless_private/search_box.js b/overrides/endless_private/search_box.js
index 40c8dc4..ea45531 100644
--- a/overrides/endless_private/search_box.js
+++ b/overrides/endless_private/search_box.js
@@ -138,6 +138,7 @@ const SearchBox = new Lang.Class({
_onMatchSelected: function (widget, model, iter) {
let index = model.get_path(iter).get_indices();
this.emit('menu-item-selected', this._items[index]['id']);
+ return Gdk.EVENT_STOP;
/* Set the menu items by providing an array of item objects: