Dear enlightenment developers,
When I click the button "add" in the News feed configuration dialog, I
get the segmentation
fault warning from e17. It is the right add button
that relates to adding a new feed to the
news module. Also configuring
an existing feed gives me a segmentation fault.
I found a solution. The problem occurs when the calls to
_cb_lang_change are made from the functions
news_config_dialog_feed_refresh_langs respectively. Within the callback
position return by e_widget_ilist_selected_get is then
-1. This is weird as for the same ilist
the position has been set to
pos_to_select or 0 when pos_to_select == -1 with
e_widget_ilist_selected_set, before the callback function is called.
Nevertheless the call to
the two function is not needed when the code
doesn't preselect a category or language
for a new feed. The attached
patch fixes the segmentation problem and the warning that
you have to
select a category every time you change something in a feed.
The ticket ( http://trac.enlightenment.org/e/ticket/317 ) in the tracker has a patch that
contains the solution.
Mark-Willem "Rawnar" Jansen
Nieuws, entertainment en de laatste roddels. Je vind het op MSN.nl!
Get latest updates about Open Source Projects, Conferences and News.