mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 13:34:21 +00:00
log pygtk.require warning
This commit is contained in:
parent
0b2dcd5dc2
commit
3e2631213c
@ -31,11 +31,12 @@
|
|||||||
# this exception statement from your version. If you delete this exception
|
# this exception statement from your version. If you delete this exception
|
||||||
# statement from all source files in the program, then also delete it here.
|
# statement from all source files in the program, then also delete it here.
|
||||||
|
|
||||||
|
from deluge.log import LOG as log
|
||||||
import pygtk
|
import pygtk
|
||||||
try:
|
try:
|
||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
except:
|
except:
|
||||||
pass
|
log.warning("It is suggested that you upgrade your PyGTK to 2.10 or greater.")
|
||||||
import gtk, gtk.glade
|
import gtk, gtk.glade
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
@ -59,7 +60,6 @@ from dbusinterface import DbusInterface
|
|||||||
from queuedtorrents import QueuedTorrents
|
from queuedtorrents import QueuedTorrents
|
||||||
from deluge.configmanager import ConfigManager
|
from deluge.configmanager import ConfigManager
|
||||||
import deluge.common
|
import deluge.common
|
||||||
from deluge.log import LOG as log
|
|
||||||
import deluge.configmanager
|
import deluge.configmanager
|
||||||
|
|
||||||
DEFAULT_PREFS = {
|
DEFAULT_PREFS = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user