Good news everyone! I have the first version of the xml-to-gui code and I'd like to hear your opinion, so please grab it here:
http://jmoskovc.fedorapeople.org/xml_to_gui.zip
unzip, make and run xml-to-gui and then please take a look at the code, I bet it has space for some improvements ;) It's not integrated into ABRT as I didn't want to deal with the rest while hacking with it, but it's my plan for today.
what does it do: - creates the dialog from the xml file
what needs to be done: - saving values - input checking (I have some ideas about this, but not really sure how good they are) - translation (but I know how to do it ;)) - anything else beyond displaying the dialog :)
Please review, Jirka
On 03/04/2011 05:51 PM, Denys Vlasenko wrote:
On Fri, 2011-03-04 at 17:08 +0100, Jiri Moskovcak wrote:
- these xml files will live in /usr/share/abrt/events/<EVENT_NAME>.xml
I would prefer /etc/abrt/events/<EVENT_NAME>.xml - that is, in the same directory where .conf file is.
For people who create new events, having to create/edit two files is bad enough, having them in two different directories is worse.
- we discuss this with Karel and our decision was based on the fact,
that the xml file is not a config file, so it shouldn't be in /etc/
I am concerned about failing on the "do not make user's life miserable" metric. :D