aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xayatanawebmail/application.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/ayatanawebmail/application.py b/ayatanawebmail/application.py
index 2e84b04..72e4043 100755
--- a/ayatanawebmail/application.py
+++ b/ayatanawebmail/application.py
@@ -175,7 +175,7 @@ class MessagingMenu(object):
return
- if 'ayatana-indicator-application-service' in lstProcesses:
+ else:
try:
@@ -187,11 +187,6 @@ class MessagingMenu(object):
gi.require_version('AppIndicator3', '0.1')
self.oAppIndicator = importlib.import_module('gi.repository.AppIndicator3')
- if not self.oAppIndicator:
-
- gi.require_version('AppIndicator3', '0.1')
- self.oAppIndicator = importlib.import_module('gi.repository.AppIndicator3')
-
self.oIndicator = self.oAppIndicator.Indicator.new(APPNAME, 'indicator-messages', self.oAppIndicator.IndicatorCategory.APPLICATION_STATUS)
self.oIndicator.set_attention_icon('indicator-messages-new')
self.oIndicator.set_status(self.oAppIndicator.IndicatorStatus.ACTIVE)