Merge pull request #270 from cjmayo/appindicator

Fix: "AppIndicator3 was imported without specifying a version first"
This commit is contained in:
Peter Wu 2016-05-21 19:28:19 +02:00
commit 8a5700b44e
1 changed files with 2 additions and 1 deletions

View File

@ -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):