Fix shelf settings dialog always resetting the shelf style to

'alternate'.



SVN revision: 49121
This commit is contained in:
Christopher Michael 2010-05-22 02:52:05 +00:00
parent 44340314e7
commit dbf68af02f
1 changed files with 3 additions and 3 deletions

View File

@ -411,7 +411,7 @@ _fill_styles(E_Config_Dialog_Data *cfdata, Evas_Object *obj)
Evas *evas;
Eina_List *l, *styles;
char *style;
int n, mw;
int mw, n = 0;
evas = evas_object_evas_get(obj);
evas_event_freeze(evas);
@ -432,8 +432,8 @@ _fill_styles(E_Config_Dialog_Data *cfdata, Evas_Object *obj)
e_theme_edje_object_set(ow, "base/theme/shelf", buff);
e_livethumb_thumb_set(thumb, ow);
e_widget_ilist_append(obj, thumb, style, NULL, NULL, style);
if (!strcmp(cfdata->es->style, style))
e_widget_ilist_selected_set(obj, n);
if (!strcmp(cfdata->style, style))
e_widget_ilist_selected_set(obj, n);
n++;
}