Changes

Jump to navigation Jump to search
m
no edit summary
Line 36: Line 36:  
  notify_obj = bus.get_object(BUS_NAME,OBJ_PATH)
 
  notify_obj = bus.get_object(BUS_NAME,OBJ_PATH)
 
  notifications = dbus.Interface(notify_obj,IFACE_NAME)
 
  notifications = dbus.Interface(notify_obj,IFACE_NAME)
 
+
 
  id = notifications.Notify("Software Update", 0, "", "New activities are available!", "Please check your activities list", [], {'x-sugar-icon-name': 'module-updater', 'urgency': 1}, -1)
 
  id = notifications.Notify("Software Update", 0, "", "New activities are available!", "Please check your activities list", [], {'x-sugar-icon-name': 'module-updater', 'urgency': 1}, -1)
 
+
 
  import time
 
  import time
 
  time.sleep(10)
 
  time.sleep(10)
 
+
 
  notifications.Notify("Software Update", 0, "", "MORE New activities are available!", "Please check your activities list AGAIN", [], {'x-sugar-icon-name': 'module-updater', 'urgency': 0}, -1)
 
  notifications.Notify("Software Update", 0, "", "MORE New activities are available!", "Please check your activities list AGAIN", [], {'x-sugar-icon-name': 'module-updater', 'urgency': 0}, -1)
  

Navigation menu