Merge pull request #270 from cjmayo/appindicator
Fix: "AppIndicator3 was imported without specifying a version first"
This commit is contained in:
commit
8a5700b44e
|
@ -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