layout: fix keyboard in modal dialogs

Fix the keyboard in modal dialogs (such as the run dialog) by raising
it above the ModalDialog lightbox so you can use it to type.

https://bugzilla.gnome.org/show_bug.cgi?id=657986
This commit is contained in:
Dan Winship 2011-09-01 11:02:50 -04:00
parent 627fff967f
commit ef57c9ff83

View File

@ -265,6 +265,7 @@ LayoutManager.prototype = {
showKeyboard: function () { showKeyboard: function () {
Main.messageTray.hide(); Main.messageTray.hide();
this.keyboardBox.raise_top();
Tweener.addTween(this.keyboardBox, Tweener.addTween(this.keyboardBox,
{ anchor_y: this.keyboardBox.height, { anchor_y: this.keyboardBox.height,
time: KEYBOARD_ANIMATION_TIME, time: KEYBOARD_ANIMATION_TIME,