Lines 59-64
Link Here
|
59 |
# https://bugs.launchpad.net/ubuntu/+source/zsi/+bug/208855 |
59 |
# https://bugs.launchpad.net/ubuntu/+source/zsi/+bug/208855 |
60 |
sys.path.append('/usr/lib/python2.5/site-packages/oldxml') |
60 |
sys.path.append('/usr/lib/python2.5/site-packages/oldxml') |
61 |
|
61 |
|
|
|
62 |
sys.path.remove('/usr/local/bin') |
63 |
|
62 |
# hint for gnome.init to set the process name to 'sonata' |
64 |
# hint for gnome.init to set the process name to 'sonata' |
63 |
if platform.system() == 'Linux': |
65 |
if platform.system() == 'Linux': |
64 |
sys.argv[0] = 'sonata' |
66 |
sys.argv[0] = 'sonata' |
Lines 149-155
Link Here
|
149 |
socketsettimeout(5) |
151 |
socketsettimeout(5) |
150 |
|
152 |
|
151 |
if not args.should_skip_gui(): |
153 |
if not args.should_skip_gui(): |
152 |
gtk.gdk.threads_init() |
154 |
#gtk.gdk.threads_init() |
153 |
|
155 |
|
154 |
# we don't use gtk.LinkButton, but gtk.AboutDialog does; |
156 |
# we don't use gtk.LinkButton, but gtk.AboutDialog does; |
155 |
# in gtk 2.16.0 without this, the about uri opens doubly: |
157 |
# in gtk 2.16.0 without this, the about uri opens doubly: |