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:
parent
4118bf1a5e
commit
33125e78c8
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user