Re: Modify GroupSelector for Everything
sad man <[email protected]>
| Newsgroups | gmane.linux.redhat.anaconda.devel |
|---|---|
| Message-ID | <CAHUHeRGChLTAacd+oCbtp0XrDoL0mCqmm=dAEounnLLY8wXzBw@mail.gmail.com> |
I guess you are talking about the GUI, if so then the GUI is based on GTK+ 3/PyGObject. The interfaces can be designed using "glade" which is very easy. So if you go to the source, I mentioned in the previous email. You will find that each ".py" file has a corresponding ".glade" file. To modify GUI you can modify the ".glade" file and then add the event handler in the corresponding ".py" file (not recommneded). Instead you can try writing an addon if you want to add your own GUI object (spoke). Instructions: http://rhinstaller.github.io/anaconda-addon-development-guide/index.html Kindly go to the main anaconda documentation <https://fedoraproject.org/wiki/Anaconda> first, it is pretty concise and comprehensive. On 5 August 2015 at 06:26, Đặng Thanh Phúc <[email protected]> wrote: > Hi all, > I'd like to ask a question. > What does Anaconda-13.21.239 separate environment (Basic Server, Web > Server...) based on ? > And How can I modify them and add new environment ? > > Thanks so much > Best Regards, > > On Tue, Aug 4, 2015 at 9:38 PM, sad man <[email protected]> wrote: > >> Dang: I think instead of modifying source, you can modify the >> <hexcode>-comps.xml file in "repodata/" folder on ISO and edit the >> "WebServer" category. You only have to change the sub-groups listed under >> that category from "optional" to "mandatory". >> >> Similarly you can also add a custom category in the comps.xml file and >> add all sub-groups as "mandatory" in this category. After that you just >> have to run "creatrepo -g (modified)-comps.xml ." command. >> >> comps.xml file is very simple to understand and I think is the easiest >> solution to what you are trying to achieve. >> >> PS: In case you want to modify the source for the sake of learning about >> anaconda, you can go through: >> https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/ui/gui/spokes/software.py >> >> and then trace back to it's callers. >> >> On 4 August 2015 at 16:08, Đặng Thanh Phúc <[email protected]> wrote: >> >>> HI all, >>> >>> I'm a newbie. I'm interested with anaconda. I've tried to research and >>> modify anaconda from source code. >>> I'd like to ask you some questions. Please help me out. >>> 1. I choose Web Server and I want to check all sub-groups packages of >>> them. How can I do it ? >>> 2. I want to add new group "Everything" and check all sub-groups >>> packages. How can I modify it ? >>> >>> I'm looking forward to seeing your reply. Thanks so much >>> Best regards >>> >>> -- >>> Phuc Dang >>> Gmail : [email protected] >>> >>> _______________________________________________ >>> Anaconda-devel-list mailing list >>> [email protected] >>> https://www.redhat.com/mailman/listinfo/anaconda-devel-list >>> >> >> >> >> -- >> Cheers, >> >> Asadullah Hussain >> >> _______________________________________________ >> Anaconda-devel-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/anaconda-devel-list >> > > > > -- > Phuc Dang > Gmail : [email protected] > > _______________________________________________ > Anaconda-devel-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/anaconda-devel-list > -- Cheers, Asadullah Hussain _______________________________________________ Anaconda-devel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/anaconda-devel-list