Alt-F2: Avoid running programs multiple times

Returning true from the event handler seems to avoid getting
duplicate return events; these duplicate events likely are
getting generated by IBus.

https://bugzilla.gnome.org/show_bug.cgi?id=644509
This commit is contained in:
Vadim Girlin 2011-03-11 10:42:20 -05:00 committed by Owen W. Taylor
parent 4118bf1a5e
commit 33125e78c8

View File

@ -251,6 +251,7 @@ __proto__: ModalDialog.ModalDialog.prototype,
if (!this.pushModal()) if (!this.pushModal())
this.close(); this.close();
} }
return true;
} }
if (symbol == Clutter.Escape) { if (symbol == Clutter.Escape) {
this.close(); this.close();