Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
send_notification: create popup when dbus is not available
Currently send_notification will try to send a notification but fail quietly if there is no notification server running. To get the message to the user's eyes, it can instead fall back to a transient Popup window. This also changes the config-reading code to use this mechanism to inform the user of a config error, rather than creating a new Config object just so we can stick a TextBox in it to notify them.
- Loading branch information
Showing
4 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters