[nanny: 3/7] nanny-desktop-blocker returns sys.exit(0) on CTRL-C



commit 743e361c8de2e016c1919785facc91ded6123aa1
Author: Roberto Majadas <roberto majadas openshine com>
Date:   Sat Jun 4 02:21:37 2011 +0200

    nanny-desktop-blocker returns sys.exit(0) on CTRL-C

 client/gnome/admin/nanny-desktop-blocker |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/client/gnome/admin/nanny-desktop-blocker b/client/gnome/admin/nanny-desktop-blocker
index ca4ca46..2e04628 100644
--- a/client/gnome/admin/nanny-desktop-blocker
+++ b/client/gnome/admin/nanny-desktop-blocker
@@ -45,4 +45,5 @@ if __name__ == '__main__':
     desktop_blocker.show()
     gtk.gdk.keyboard_grab(desktop_blocker.window)
     gtk.main()
+    sys.exit(0)
 



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