1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-03 14:55:50 +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:
imdano
2008-03-13 14:10:49 +00:00
parent a7c22b9724
commit 04b67e9b2e
7 changed files with 44 additions and 28 deletions

View File

@@ -27,10 +27,10 @@ run as the current user.
#
import sys
import os
import gtk
import ConfigParser
import dbus
import dbus.service
import gtk.glade
import wpath
@@ -184,4 +184,7 @@ def main (argv):
if __name__ == '__main__':
if os.getuid() != 0:
print "Root priviledges are required to configure scripts. Exiting."
sys.exit(0)
main(sys.argv)