Changes

Line 72: Line 72:  
     notifications = dbus.Interface(notify_obj,IFACE_NAME)
 
     notifications = dbus.Interface(notify_obj,IFACE_NAME)
 
     notifications.Notify("Software Update", 0, "", "New activities are available!", "Please check your activities list", [], {'x-sugar-icon-name': 'module-updater'}, -1)
 
     notifications.Notify("Software Update", 0, "", "New activities are available!", "Please check your activities list", [], {'x-sugar-icon-name': 'module-updater'}, -1)
 +
 +
From activities you can use this simplified method:
 +
 +
    self.notify_user('This is the summary','This is a much longer body... describing something...')
    
== User Experience ==
 
== User Experience ==
572

edits