Ignore:
Timestamp:
Dec 8, 2010, 1:41:52 PM (14 years ago)
Author:
joergs
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/dbus/knotify-client

    r935 r936  
    66import pprint
    77
    8 m = sys.argv[1]
     8try:
     9    message = sys.argv[1]
     10except:
     11    message = sys.argv[0]
    912
    1013knotify = dbus.SessionBus().get_object("org.kde.knotify", "/Notify")
     
    3235# use notify settings from powerdevil
    3336#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")
     37i = knotify.event( "notification", "kde", [], "knotify-client", message, [], [], 5, dbus_interface="org.kde.KNotify")
    3538#pprint.pprint(i)
    36 
     39print i
Note: See TracChangeset for help on using the changeset viewer.