[gnome-shell] viewSelector: Make the compose key focus the search entry
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] viewSelector: Make the compose key focus the search entry
- Date: Fri, 7 Aug 2015 13:38:03 +0000 (UTC)
commit ac0213a516116280228da0d5105b932f99734b47
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Aug 7 15:16:58 2015 +0200
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
js/ui/viewSelector.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 660f619..3776b2c 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -465,6 +465,9 @@ const ViewSelector = new Lang.Class({
},
_shouldTriggerSearch: function(symbol) {
+ if (symbol == Clutter.Multi_key)
+ return true;
+
if (symbol == Clutter.BackSpace && this._searchActive)
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]