Was thinking about how to implement the plugin settings dialog:
We can use the glade files we have for plugins right now. I would put
them into directory like /usr/share/abrt/plugins and the gui can just
read that directory and handle every .glade file as a plugin:
- create a window similar to what we have in old gui for plugin settings
- for every glade file add an entry to the list in the window
- every item in the glade file which have the prefix conf_<foo>
represents one item in the config file named <foo> so this way we can
fill the value read from the config file and later save values from the
dialog to the config file
- first iteration will only support .conf files
- second iteration should add support for gnome-keyring (and others like
kwallet?)
Any other ideas welcome.
Jirka
Show replies by date