mirror of
https://github.com/gryf/wicd.git
synced 2025-12-24 07:02:29 +01:00
Centralise path configuration into a single file.
Path configuration was distributed throughout wicd, making it difficult to move around project files. Centralise the configuration into wpath.py.
This commit is contained in:
6
tray.py
6
tray.py
@@ -1,7 +1,9 @@
|
||||
#!/usr/bin/python
|
||||
import os,sys
|
||||
import os
|
||||
import sys
|
||||
import wpath
|
||||
if __name__ == '__main__':
|
||||
os.chdir(os.path.dirname(os.path.normpath(os.path.join(os.getcwd(),sys.argv[0]))))
|
||||
wpath.chdir(__file__)
|
||||
import gtk
|
||||
if gtk.gtk_version[0] >= 2 and gtk.gtk_version[1] >= 10:
|
||||
import edgy
|
||||
|
||||
Reference in New Issue
Block a user