gnome-shell/js
Dan Winship 59c3e3a179 endSessionDialog: fix keyboard navigation
The addition of _backgroundStack to ModalDialog broke focus
navigation, because it was interposed between the focus group root and
all of the interesting content, but since it isn't an StWidget,
st_widget_navigate_focus() was unable to navigate through it. Fix this
by moving the focus root to this._dialogLayout (inside the
_backgroundStack) instead.

Additionally, in EndSessionDialog specifically, _initialKeyFocus
wasn't being set until after opening the dialog, so it was ignored.

Also change ModalDialog.close() to clear the _savedKeyFocus that
popModal() set, so that dialogs that are repeatedly closed and
reopened will have their focus revert back to _initialKeyFocus each
time.

https://bugzilla.gnome.org/show_bug.cgi?id=646740
2011-04-14 17:53:40 -04:00
..
misc NetworkMenu: fixup device descriptions 2011-04-11 10:38:00 -04:00
perf perf: Add metrics for switching to the applications view 2011-03-11 19:25:40 -05:00
ui endSessionDialog: fix keyboard navigation 2011-04-14 17:53:40 -04:00
Makefile.am Status area: add NetworkManager indicator 2011-03-16 15:59:34 +01:00