aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJavier Cantero <jcantero@escomposlinux.org>2015-11-14 12:09:34 +0100
committerJavier Cantero <jcantero@escomposlinux.org>2015-11-14 12:09:34 +0100
commit56cef8d9cc2474e6e7382f9e702d35ab7f6355a8 (patch)
tree4df95edb2a15717e5bf19b498605618c31c775e0 /src
parentSpecify required Gtk version (diff)
downloadredshift-ng-56cef8d9cc2474e6e7382f9e702d35ab7f6355a8.tar.gz
redshift-ng-56cef8d9cc2474e6e7382f9e702d35ab7f6355a8.tar.bz2
redshift-ng-56cef8d9cc2474e6e7382f9e702d35ab7f6355a8.tar.xz
Also specify required AppIndicator3 version
Avoid another GObject Introspection warning in redshift-gtk by providing the required version of AppIndicator3 before import it.
Diffstat (limited to 'src')
-rw-r--r--src/redshift-gtk/statusicon.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redshift-gtk/statusicon.py b/src/redshift-gtk/statusicon.py
index e09b523..2974b77 100644
--- a/src/redshift-gtk/statusicon.py
+++ b/src/redshift-gtk/statusicon.py
@@ -35,6 +35,7 @@ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib, GObject
try:
+ gi.require_version('AppIndicator3', '0.1')
from gi.repository import AppIndicator3 as appindicator
except ImportError:
appindicator = None