The example code here: https://wiki.ubuntu.com/NotificationDevelopmentGuidelines#Layout%20cases%20(with%20examples%20in%20C,%20Python%20and%20C#) checks each time before using the capability. Makes the desktop experience more robust too - nobody wants to restart their session when they shouldn't have to...
The example code here: https:/ /wiki.ubuntu. com/Notificatio nDevelopmentGui delines# Layout% 20cases% 20(with% 20examples% 20in%20C, %20Python% 20and%20C#) checks each time before using the capability. Makes the desktop experience more robust too - nobody wants to restart their session when they shouldn't have to...