Main: close the looking glass when we don't have a run dialog

No run dialog means no looking glass either.

https://bugzilla.gnome.org/show_bug.cgi?id=695458
This commit is contained in:
Giovanni Campagna 2013-03-08 22:59:02 +01:00
parent ef623cfbbd
commit 5af09a60e9

View File

@ -84,6 +84,9 @@ function _sessionUpdated() {
Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.NORMAL |
Shell.KeyBindingMode.OVERVIEW, Shell.KeyBindingMode.OVERVIEW,
sessionMode.hasRunDialog ? openRunDialog : null); sessionMode.hasRunDialog ? openRunDialog : null);
if (!sessionMode.hasRunDialog && lookingGlass)
lookingGlass.close();
} }
function start() { function start() {