fix e_layout to not ignore frozen state

SVN revision: 83827
This commit is contained in:
Mike Blumenkrantz 2013-02-11 14:35:03 +00:00
parent c401fdacab
commit b936d5287e
3 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,7 @@
* fixed bug where pointer warping to new clients would start at a random location
* fix crash when locking screen from Start gadget and then activating gadget again
* fixed bug where e_layout would ignore frozen state and crash
2013-02-08 Cedric Bail

1
NEWS
View File

@ -170,3 +170,4 @@ Fixes:
* don't call efreet_menu_parse from a thread
* fixed bug where pointer warping to new clients would start at a random location
* fix crash when locking screen from Start gadget and then activating gadget again
* fixed bug where e_layout would ignore frozen state and crash

View File

@ -138,7 +138,7 @@ e_layout_pack(Evas_Object *obj, Evas_Object *child)
sd = evas_object_smart_data_get(obj);
li = _e_layout_smart_adopt(sd, child);
sd->items = eina_inlist_append(sd->items, EINA_INLIST_GET(li));
_e_layout_smart_move_resize_item(li);
if (sd->frozen <= 0) _e_layout_smart_move_resize_item(li);
}
EAPI void
@ -151,7 +151,7 @@ e_layout_child_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
if ((li->x == x) && (li->y == y)) return;
li->x = x;
li->y = y;
_e_layout_smart_move_resize_item(li);
if (li->sd->frozen <= 0) _e_layout_smart_move_resize_item(li);
}
EAPI void
@ -166,7 +166,7 @@ e_layout_child_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
if ((li->w == w) && (li->h == h)) return;
li->w = w;
li->h = h;
_e_layout_smart_move_resize_item(li);
if (li->sd->frozen <= 0) _e_layout_smart_move_resize_item(li);
}
EAPI void
@ -464,7 +464,7 @@ _e_layout_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
sd->w = w;
sd->h = h;
sd->changed = 1;
_e_layout_smart_reconfigure(sd);
if (sd->frozen <= 0) _e_layout_smart_reconfigure(sd);
}
static void