viewSelector: Make the compose key focus the search entry

This way composed characters can be used to start searches.

https://bugzilla.gnome.org/show_bug.cgi?id=753320
This commit is contained in:
Rui Matos 2015-08-07 15:16:58 +02:00
parent 45a6e2c305
commit ac0213a516

View File

@ -465,6 +465,9 @@ const ViewSelector = new Lang.Class({
}, },
_shouldTriggerSearch: function(symbol) { _shouldTriggerSearch: function(symbol) {
if (symbol == Clutter.Multi_key)
return true;
if (symbol == Clutter.BackSpace && this._searchActive) if (symbol == Clutter.BackSpace && this._searchActive)
return true; return true;