mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
Merge branch 'hotfix'
This commit is contained in:
@@ -3,15 +3,19 @@
|
|||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version('Gtk', '3.0')
|
gi.require_version('Gtk', '3.0')
|
||||||
gi.require_version('AppIndicator3', '0.1')
|
|
||||||
gi.require_version('Notify', '0.7')
|
gi.require_version('Notify', '0.7')
|
||||||
|
|
||||||
import signal,time,os,fcntl,datetime,re
|
import signal,time,os,fcntl,datetime,re
|
||||||
from subprocess import Popen, PIPE, CalledProcessError
|
from subprocess import Popen, PIPE, CalledProcessError
|
||||||
from shutil import which
|
from shutil import which
|
||||||
from gi.repository import Gtk,GLib,GdkPixbuf
|
from gi.repository import Gtk,GLib,GdkPixbuf
|
||||||
from gi.repository import AppIndicator3 as appindicator
|
|
||||||
from gi.repository import Notify as notify
|
from gi.repository import Notify as notify
|
||||||
|
try:
|
||||||
|
gi.require_version('AyatanaAppIndicator3', '0.1')
|
||||||
|
from gi.repository import AyatanaAppIndicator3 as appindicator
|
||||||
|
except ValueError:
|
||||||
|
gi.require_version('AppIndicator3', '0.1')
|
||||||
|
from gi.repository import AppIndicator3 as appindicator
|
||||||
|
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user