[gnome-shell] Alt-F2: Avoid running programs multiple times



commit 33125e78c876be2672f044da159f1011ecab66f8
Author: Vadim Girlin <vadimgirlin gmail com>
Date:   Fri Mar 11 10:42:20 2011 -0500

    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

 js/ui/runDialog.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index f239ec8..fdf6c4e 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -251,6 +251,7 @@ __proto__: ModalDialog.ModalDialog.prototype,
                     if (!this.pushModal())
                         this.close();
                 }
+                return true;
             }
             if (symbol == Clutter.Escape) {
                 this.close();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]