void-packages/srcpkgs/gwe/patches/use-ayatana-appindicator.patch

16 lines
579 B
Diff

diff --git a/gwe/view/main_view.py b/gwe/view/main_view.py
index 61c891d..6f573c2 100644
--- a/gwe/view/main_view.py
+++ b/gwe/view/main_view.py
@@ -31,8 +31,8 @@ from gwe.model.fan_profile import FanProfile
try: # AppIndicator3 may not be installed
import gi
- gi.require_version('AppIndicator3', '0.1')
- from gi.repository import AppIndicator3
+ gi.require_version('AyatanaAppIndicator3', '0.1')
+ from gi.repository import AyatanaAppIndicator3 as AppIndicator3
except (ImportError, ValueError):
AppIndicator3 = None
from gwe.di import MainBuilder