1. Andy Mikhailenko
  2. timetra

Commits

Andy Mikhailenko  committed 39a104e

cosmetic changes in OSD notifications.

  • Participants
  • Parent commits f94bab7
  • Branches default

Comments (0)

Files changed (1)

File timetra/notification.py

View file
     warn('Visible alerts are disabled')
     pynotify = None
 else:
-    pynotify.init('timetracker')
+    pynotify.init('timetra')
 
 
 # Audible notifications
     if not pynotify:
         return False
 
-    note = pynotify.Notification(summary=text)
+    note = pynotify.Notification(summary='Time Tracker')
     if critical:
         note.set_urgency(pynotify.URGENCY_CRITICAL)
+    note.set_property('body', text)
     note.show()
     return True