mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Made calls to Autoconnect outside the daemon asynchronous.
Removed some unnecessary print statements. Added checks to the daemon and configscript.py to make sure the user opening it is root. Fixed formatting problems in class definitions in wicd.py
This commit is contained in:
7
gui.py
7
gui.py
@@ -31,6 +31,8 @@ import gobject
|
||||
import dbus
|
||||
import dbus.service
|
||||
import pango
|
||||
import gtk
|
||||
import gtk.glade
|
||||
|
||||
import misc
|
||||
import wpath
|
||||
@@ -42,11 +44,6 @@ try:
|
||||
pygtk.require("2.0")
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
import gtk, gtk.glade
|
||||
except:
|
||||
print 'Missing GTK and gtk.glade. Aborting.'
|
||||
sys.exit(1)
|
||||
|
||||
if getattr(dbus, 'version', (0, 0, 0)) >= (0, 41, 0):
|
||||
import dbus.glib
|
||||
|
||||
Reference in New Issue
Block a user