720
|
1 |
Only in fusion-icon.modif/FusionIcon: .data.py.swp
|
|
2 |
diff -rup fusion-icon/FusionIcon/data.py fusion-icon.modif/FusionIcon/data.py
|
|
3 |
--- fusion-icon/FusionIcon/data.py 1970-01-01 01:00:00.000000000 +0100
|
|
4 |
+++ fusion-icon.modif/FusionIcon/data.py 2007-12-13 17:12:51.361849000 +0100
|
|
5 |
@@ -73,7 +73,7 @@ wms = {
|
|
6 |
|
|
7 |
'xfwm4':
|
|
8 |
('xfwm4', ['xfwm4'],
|
|
9 |
- 'Xfwm4', 'xfce', ['noreplace'], ['killall', 'xfwm4']),
|
|
10 |
+ 'Xfwm4', 'xfce', ['noreplace'], ['pkill', 'xfwm4']),
|
|
11 |
|
|
12 |
'openbox':
|
|
13 |
('openbox', ['openbox', '--replace'],
|
|
14 |
Only in fusion-icon.modif/FusionIcon: data.py~
|
|
15 |
diff -rup fusion-icon/FusionIcon/environment.py fusion-icon.modif/FusionIcon/environment.py
|
629
|
16 |
--- fusion-icon/FusionIcon/environment.py 1970-01-01 01:00:00.000000000 +0100
|
720
|
17 |
+++ fusion-icon.modif/FusionIcon/environment.py 2007-12-13 16:59:23.348231000 +0100
|
629
|
18 |
@@ -46,6 +46,8 @@ glx_vendor: 'client glx vendor:' usually
|
|
19 |
tfp: 'direct' if texture_from_pixmap is present with direct rendering (implying presence with indirect as well), 'indirect' if only present with indirect context, False if not present at all
|
|
20 |
|
|
21 |
Xgl: True in Xgl'''
|
|
22 |
+ if os.environ["PATH"].find ("/usr/bin/X11") == -1:
|
|
23 |
+ os.environ["PATH"] = os.environ["PATH"] + ":/usr/bin/X11"
|
|
24 |
|
|
25 |
# Check gnome- and kde-specific vars, then try generic 'DESKTOP_SESSION'
|
|
26 |
if GDSID in os.environ:
|
720
|
27 |
diff -rup fusion-icon/FusionIcon/util.py fusion-icon.modif/FusionIcon/util.py
|
629
|
28 |
--- fusion-icon/FusionIcon/util.py 1970-01-01 01:00:00.000000000 +0100
|
720
|
29 |
+++ fusion-icon.modif/FusionIcon/util.py 2007-12-13 16:59:23.348590000 +0100
|
629
|
30 |
@@ -155,7 +155,7 @@ class WindowManagers(dict):
|
|
31 |
time.sleep(1)
|
|
32 |
|
|
33 |
if self.active and self.old and 'noreplace' in self[self.active].flags:
|
|
34 |
- run(['killall', self[self.old].base], 'call')
|
|
35 |
+ run(['pkill ', self[self.old].base], 'call')
|
|
36 |
time.sleep(1)
|
|
37 |
|
|
38 |
if self.active == 'compiz':
|
|
39 |
@@ -165,10 +165,8 @@ class WindowManagers(dict):
|
|
40 |
if options[option].enabled:
|
|
41 |
compiz_command.append(options[option].switch)
|
|
42 |
|
|
43 |
- kill_list = ['killall']
|
|
44 |
for decorator in decorators:
|
|
45 |
- kill_list.append(decorators[decorator].base)
|
|
46 |
- run(kill_list, 'call')
|
|
47 |
+ subprocess.Popen(["/usr/bin/pkill", decorators[decorator].base[0:14]])
|
|
48 |
|
|
49 |
time.sleep(0.5)
|
|
50 |
|
|
51 |
@@ -204,10 +202,8 @@ class CompizDecorator(object):
|
|
52 |
self.desktop = installed.decorators[name][3]
|
|
53 |
|
|
54 |
def kill_others(self):
|
|
55 |
- killall = ['killall']
|
|
56 |
for decorator in [x for x in self.decorators if x != self.name]:
|
|
57 |
- killall.append(self.decorators[decorator].base)
|
|
58 |
- run(killall, 'call')
|
|
59 |
+ subprocess.Popen(["/usr/bin/pkill", self.decorators[decorator].base[0:14]])
|
|
60 |
|
|
61 |
class CompizDecorators(dict):
|
|
62 |
|
|
63 |
@@ -301,8 +297,8 @@ class Installed(object):
|
|
64 |
### Everything Else
|
|
65 |
self.wms = data.wms.copy()
|
|
66 |
for wm in data.wms:
|
|
67 |
- which = run(['which', data.wms[wm][0]], 'output')
|
|
68 |
- if which:
|
|
69 |
+ which = run(['which', data.wms[wm][0]], 'call')
|
|
70 |
+ if which == 0:
|
|
71 |
output += ' -- %s' %which
|
|
72 |
else:
|
|
73 |
del self.wms[wm]
|
|
74 |
@@ -313,8 +309,8 @@ class Installed(object):
|
|
75 |
|
|
76 |
self.decorators = data.decorators.copy()
|
|
77 |
for decorator in data.decorators:
|
|
78 |
- which = run(['which', data.decorators[decorator][0]], 'output')
|
|
79 |
- if which:
|
|
80 |
+ which = run(['which', data.decorators[decorator][0]], 'call')
|
|
81 |
+ if which == 0:
|
|
82 |
output += ' -- %s' %which
|
|
83 |
else:
|
|
84 |
del self.decorators[decorator]
|