[gnome-shell] runDialog: Add entry to focus chain
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] runDialog: Add entry to focus chain
- Date: Tue, 30 Oct 2012 14:51:32 +0000 (UTC)
commit a607174a25e5d1998e8f8d5faa2437812c69d05e
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Oct 29 19:21:48 2012 +0100
runDialog: Add entry to focus chain
Currently the entry takes the intial key focus, but is not actually
part of the focus chain. Fix that, even though keynav does not work
too well for the dialog anyway, due to the entry consuming tab for
command completion.
https://bugzilla.gnome.org/show_bug.cgi?id=687127
js/ui/runDialog.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 3db85d8..2ec1dea 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -206,7 +206,8 @@ const RunDialog = new Lang.Class({
this.contentLayout.add(label, { y_align: St.Align.START });
- let entry = new St.Entry({ style_class: 'run-dialog-entry' });
+ let entry = new St.Entry({ style_class: 'run-dialog-entry',
+ can_focus: true });
ShellEntry.addContextMenu(entry);
entry.label_actor = label;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]