fix missing import
This commit is contained in:
parent
9dc8404158
commit
6099e3eb43
|
@ -177,6 +177,7 @@ class FeaturesWindow:
|
||||||
def notification_available(self):
|
def notification_available(self):
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
return False
|
return False
|
||||||
|
from common import dbus_support
|
||||||
if self.dbus_available() and dbus_support.get_notifications_interface():
|
if self.dbus_available() and dbus_support.get_notifications_interface():
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue