Fix: "AppIndicator3 was imported without specifying a version first"
PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
This commit is contained in:
parent
ddbc27486c
commit
e046455a05
|
@ -144,7 +144,8 @@ def _scroll(tray_icon, event, direction=None):
|
|||
|
||||
|
||||
try:
|
||||
# raise ImportError
|
||||
import gi
|
||||
gi.require_version('AppIndicator3', '0.1')
|
||||
from gi.repository import AppIndicator3
|
||||
|
||||
if _log.isEnabledFor(_DEBUG):
|
||||
|
|
Loading…
Reference in New Issue