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_category_list and 
_cb_lang_change are made from the functions

news_config_dialog_feed_refresh_categories and

news_config_dialog_feed_refresh_langs respectively. Within the callback
functions the 
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.

Kind regards,

Mark-Willem "Rawnar" Jansen


_________________________________________________________________
Nieuws, entertainment en de laatste roddels. Je vind het op MSN.nl!
http://nl.msn.com/
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to