/[smeserver]/rpms/anaconda/sme8/anaconda-centos-task.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/anaconda-centos-task.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 17:57:22 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_87-1_el5_sme, anaconda-11_1_2_195-1_el5_sme_1, anaconda-11_1_2_224-1_el5_centos_1, anaconda-11_1_2_195-1_el5_centos, anaconda-11_1_2_168-1_el5_sme_1, anaconda-11_1_2_242-1_el5_sme_1, anaconda-11_1_2_263-2_el5_centos, anaconda-11_1_2_242-1, anaconda-11_1_2_209-1_el5_sme, anaconda-11_1_2_263-2_el5_sme, anaconda-11_1_2_242-1_el5_sme, anaconda-11_1_2_168-1_el5_centos, HEAD
Import on branch sme8 of package anaconda-11.1.2.36-1.el5.sme.6.src.rpm

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed