1 |
slords |
1.1 |
diff -uNr anaconda-11.1.2.16__orig/iw/task_gui.py anaconda-11.1.2.16/iw/task_gui.py |
2 |
|
|
--- anaconda-11.1.2.16__orig/iw/task_gui.py 2006-10-09 15:18:02.000000000 +0000 |
3 |
|
|
+++ anaconda-11.1.2.16/iw/task_gui.py 2007-03-10 05:11:43.000000000 +0000 |
4 |
|
|
@@ -33,11 +33,14 @@ |
5 |
|
|
self.dispatch.skipStep("group-selection", skip = 1) |
6 |
|
|
|
7 |
|
|
tasks = self.xml.get_widget("taskList").get_model() |
8 |
|
|
+ |
9 |
|
|
+ # Quick hack to handle overlapping groups in tasks for an installclass |
10 |
|
|
+ for (cb, task, grps) in tasks: |
11 |
|
|
+ if not cb: |
12 |
|
|
+ map(self.backend.deselectGroup, grps) |
13 |
|
|
for (cb, task, grps) in tasks: |
14 |
|
|
if cb: |
15 |
|
|
map(self.backend.selectGroup, grps) |
16 |
|
|
- else: |
17 |
|
|
- map(self.backend.deselectGroup, grps) |
18 |
|
|
|
19 |
|
|
if self.anaconda.id.instClass.allowExtraRepos: |
20 |
|
|
repos = self.xml.get_widget("repoList").get_model() |
21 |
|
|
diff -uNr anaconda-11.1.2.16__orig/textw/task_text.py anaconda-11.1.2.16/textw/task_text.py |
22 |
|
|
--- anaconda-11.1.2.16__orig/textw/task_text.py 2006-09-05 18:57:39.000000000 +0000 |
23 |
|
|
+++ anaconda-11.1.2.16/textw/task_text.py 2007-03-10 05:11:10.000000000 +0000 |
24 |
|
|
@@ -76,12 +76,15 @@ |
25 |
|
|
anaconda.dispatch.skipStep("group-selection") |
26 |
|
|
|
27 |
|
|
sel = ct.getSelection() |
28 |
|
|
+ # quick hack to handle overlapping groups in tasks |
29 |
|
|
+ for (txt, grps) in tasks: |
30 |
|
|
+ if not txt in sel: |
31 |
|
|
+ map(self.backend.deselectGroup, grps) |
32 |
|
|
for (txt, grps) in tasks: |
33 |
|
|
if txt in sel: |
34 |
|
|
map(self.backend.selectGroup, grps) |
35 |
|
|
- else: |
36 |
|
|
- map(self.backend.deselectGroup, grps) |
37 |
|
|
- screen.popWindow() |
38 |
|
|
+ |
39 |
|
|
+ screen.popWindow() |
40 |
|
|
|
41 |
|
|
return INSTALL_OK |