Changeset 936 for kde/dbus/knotify-client
- Timestamp:
- Dec 8, 2010, 1:41:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/dbus/knotify-client
r935 r936 6 6 import pprint 7 7 8 m = sys.argv[1] 8 try: 9 message = sys.argv[1] 10 except: 11 message = sys.argv[0] 9 12 10 13 knotify = dbus.SessionBus().get_object("org.kde.knotify", "/Notify") … … 32 35 # use notify settings from powerdevil 33 36 #i = knotify.event( "criticalbattery", "powerdevil", [], "Batteriemanagement", m, [], [], 0, dbus_interface="org.kde.KNotify") 34 i = knotify.event( "notification", "kde", [], "knotify-client", m , [], [], 0, dbus_interface="org.kde.KNotify")37 i = knotify.event( "notification", "kde", [], "knotify-client", message, [], [], 5, dbus_interface="org.kde.KNotify") 35 38 #pprint.pprint(i) 36 39 print i
Note:
See TracChangeset
for help on using the changeset viewer.