entrance: fix multiple creation of random icons

This commit is contained in:
Marcel Hollerbach 2014-05-17 17:04:37 +02:00
parent e0cd25d308
commit 991fc8705d
2 changed files with 3 additions and 0 deletions

View File

@ -761,6 +761,8 @@ _entrance_gui_user_content_get(void *data EINA_UNUSED, Evas_Object *obj, const c
if ((!eu->image.path) && (!eu->image.group))
{
o = _entrance_gui_user_icon_random_get(obj, eu->login);
elm_image_file_get(o,&(eu->image.path),&(eu->image.group));
eu->tmp_icon = EINA_TRUE;
}
else if(eu->image.path && (!eu->image.group))
{

View File

@ -94,6 +94,7 @@ typedef struct Entrance_Login_
Entrance_Image bg;
Entrance_Image image;
Eina_Bool remember_session;
Eina_Bool tmp_icon;
Eina_List *icon_pool;
Eina_List *background_pool;
} Entrance_Login;