Merge commit '2616a9d4c1c3ebc4c7f7b235926b4bbf2c730194' into v0.6

This commit is contained in:
Peter Šurda 2016-08-27 21:52:01 +08:00
commit dadc3b9057
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -1,10 +1,13 @@
from debug import logger
withMessagingMenu = False
try:
import gi
gi.require_version('MessagingMenu', '1.0')
from gi.repository import MessagingMenu
gi.require_version('Notify', '0.7')
from gi.repository import Notify
withMessagingMenu = True
except ImportError:
except (ImportError, ValueError):
MessagingMenu = None
try: