forked from enlightenment/enlightenment
gadcon now correctly freezes its container object when unpopulating
SVN revision: 84058
This commit is contained in:
parent
41058ea8e2
commit
2297f7d071
|
@ -5,6 +5,7 @@
|
|||
* desklock now uses compositor canvas
|
||||
* e_shelf_desk_visible_get now takes const params
|
||||
* e_util_size_debug_set now also prints for object show/hide events
|
||||
* e_gadcon_unpopulate now correctly freezes the container while deleting gadgets
|
||||
|
||||
2013-02-13 Deon Thomas
|
||||
|
||||
|
|
1
NEWS
1
NEWS
|
@ -107,6 +107,7 @@ Improvements:
|
|||
* container now uses compositor window
|
||||
* Menu->Applications now only list valid .desktop files
|
||||
* desklock now uses compositor canvas
|
||||
* e_gadcon_unpopulate now correctly freezes the container while deleting gadgets
|
||||
|
||||
Fixes:
|
||||
* IBar menu didn't allow to configure different icon sources, show contents menu even on empty IBar.
|
||||
|
|
|
@ -596,6 +596,7 @@ e_gadcon_unpopulate(E_Gadcon *gc)
|
|||
E_OBJECT_CHECK(gc);
|
||||
E_OBJECT_TYPE_CHECK(gc, E_GADCON_TYPE);
|
||||
/* Be careful, e_object_del does remove gcc from gc->clients */
|
||||
if (gc->o_container) e_gadcon_layout_freeze(gc->o_container);
|
||||
while (gc->clients)
|
||||
{
|
||||
gcc = eina_list_data_get(gc->clients);
|
||||
|
@ -610,6 +611,7 @@ e_gadcon_unpopulate(E_Gadcon *gc)
|
|||
if (gc->awaiting_classes)
|
||||
eina_hash_free(gc->awaiting_classes);
|
||||
gc->awaiting_classes = NULL;
|
||||
if (gc->o_container) e_gadcon_layout_thaw(gc->o_container);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue