Matti Niemenmaa
c6f9202380
core/desktop: don't crash if gi exists but is empty ( #314 )
...
Many packages install something into gi/overrides. If the gobject
package itself is not installed, the import of gi succeeds but
require_version is not contained within, resulting in an AttributeError.
2017-06-26 17:36:19 +02:00
Facetoe
4ec39cacb0
Prevent battery module spamming notifications. ( #581 )
...
* Prevent battery module spamming notifications.
Raised in #578 .
* Fix pep8 issues.
2017-06-15 08:48:52 +07:00
Johannes Löthberg
96936946fa
core/desktop: Use default server timeout
...
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-02-23 13:51:35 +01:00
Erik Johnson
bafc492c45
Always log exception for DesktopNotification failure
...
Also remove unused ``exc`` variable.
2016-09-20 12:53:06 -05:00
Erik Johnson
429c5d4865
Fix traceback when notification daemon not running
...
When a desktop notification is displayed but there is no notification
daemon running, an exception is raised.
This fixes the traceback by adding a logger to the DesktopNotification
class, and logging an error when the exception is caught.
Fixes #453 .
2016-09-18 20:45:40 -05:00
Jan Oliver Oelerich
e78501a0cc
Update desktop.py
...
Fixed syntax error.
2015-10-25 20:41:42 +01:00
enkore
4d24b17e2b
Fix crash on import with desktop notifications when python-gobject is available, but no notification daemon is running.
2015-10-25 20:30:36 +01:00
enkore
dee25535e7
Fix some warning from some glib-thing.
2015-06-17 14:07:43 +02:00
enkore
f06a76ad52
PEP8
2014-04-30 14:51:41 +02:00
enkore
4109515914
Some documentation stuff
2014-04-23 14:45:29 +02:00
enkore
b89b8a8145
core.desktop: Refactor into class
...
TODO: find better way to handle Impl
2013-10-23 21:36:05 +02:00
enkore
3381959e6b
Sphinx
2013-10-14 17:55:41 +02:00
enkore
c3441da72e
core.desktop: make dependency python-gobject optional
2013-08-03 14:24:37 +02:00
enkore
6740f5b1cc
#5 : Add slim wrapper for notifications
2013-03-05 17:26:28 +01:00