Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
[[Category:FeatureLanded|Notification System]]
 
== Summary ==
 
== Summary ==
 
This adds a simple messages notification system for sugar that can be used by the system, journal and activities notifications.
 
This adds a simple messages notification system for sugar that can be used by the system, journal and activities notifications.
Line 73: Line 74:  
     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:
+
From activities you can use this simplified method, (Gtk3 is required):
    
     self.notify_user('This is the summary','This is a much longer body... describing something...')
 
     self.notify_user('This is the summary','This is a much longer body... describing something...')
628

edits

Navigation menu