entrance: fix multiple creation of random icons
This commit is contained in:
parent
e0cd25d308
commit
991fc8705d
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue