[Lunar-commits] <lconnman> lconnman: Key.ENTER = 10

Samuel Verstraete samuel.verstraete at gmail.com
Mon Sep 12 04:17:21 CEST 2011


commit 55a60259b840a0163c884abde049b21234d99b6f
Author: Samuel Verstraete <samuel.verstraete at gmail.com>
Date:   Mon Sep 12 04:17:21 2011 +0200

    lconnman: Key.ENTER = 10
---
 src/lconnman.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lconnman.vala b/src/lconnman.vala
index 7324a4a..fcd39d5 100644
--- a/src/lconnman.vala
+++ b/src/lconnman.vala
@@ -45,7 +45,7 @@ int main() {
       case 113: //should be q;
         action = "quit";
         break;
-      case Key.ENTER: //not working?
+      case 10: //Key.ENTER
         if (buttonBox.get_selected_choice() == "exit") {
           action = "quit";
         }


More information about the Lunar-commits mailing list