Merge commit '2616a9d4c1c3ebc4c7f7b235926b4bbf2c730194' into v0.6
This commit is contained in:
commit
dadc3b9057
|
@ -1,10 +1,13 @@
|
||||||
from debug import logger
|
from debug import logger
|
||||||
withMessagingMenu = False
|
withMessagingMenu = False
|
||||||
try:
|
try:
|
||||||
|
import gi
|
||||||
|
gi.require_version('MessagingMenu', '1.0')
|
||||||
from gi.repository import MessagingMenu
|
from gi.repository import MessagingMenu
|
||||||
|
gi.require_version('Notify', '0.7')
|
||||||
from gi.repository import Notify
|
from gi.repository import Notify
|
||||||
withMessagingMenu = True
|
withMessagingMenu = True
|
||||||
except ImportError:
|
except (ImportError, ValueError):
|
||||||
MessagingMenu = None
|
MessagingMenu = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user