[pkg-fso-commits] [SCM] Automatic Display Manager branch, master, updated. debian/0.4-2-g70c5c81
Joachim Breitner
mail at joachim-breitner.de
Tue Oct 7 18:42:57 UTC 2008
The following commit has been merged in the master branch:
commit fe92490bce628429da8c555ef025ca5312f3f175
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Tue Oct 7 20:23:17 2008 +0200
remove matchbox-keyboard-toggle
diff --git a/matchbox-keyboard-toggle b/matchbox-keyboard-toggle
deleted file mode 100644
index dcdad1b..0000000
--- a/matchbox-keyboard-toggle
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/python
-
-# Needs python-dbus and psmisc
-
-import dbus
-import dbus.glib
-import gobject
-
-import os
-
-keyboard_shown=False
-
-def signal_handler(name, action, seconds):
- global keyboard_shown
-
- if name == "AUX" and action == "pressed":
- if keyboard_shown:
- os.system("kill -s KILL `pidof /usr/bin/matchbox-keyboard`")
- else:
- os.system("matchbox-keyboard &")
- keyboard_shown = not keyboard_shown
-
-
-bus = dbus.SystemBus()
-bus.add_signal_receiver(signal_handler,
- dbus_interface="org.freesmartphone.Device.Input",
- signal_name="Event")
-
-
-loop = gobject.MainLoop()
-loop.run()
--
Automatic Display Manager
More information about the pkg-fso-commits
mailing list