entrance: fix multiple creation of random icons

devs/bu5hm4n/develop
Marcel Hollerbach 8 years ago
parent e0cd25d308
commit 991fc8705d
  1. 2
      src/bin/entrance_gui.c
  2. 1
      src/event/entrance_event.h

@ -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…
Cancel
Save