forked from enlightenment/enlightenment
hack/fix initial toolbar sizing, prevents weird fwin size bugs caused by trying to calc toolbar size before the toolbar has been sized
SVN revision: 78852
This commit is contained in:
parent
d23548d79e
commit
bcd7b442c4
|
@ -107,6 +107,7 @@ e_toolbar_new(Evas *evas, const char *name, E_Win *fwin, Evas_Object *fm2)
|
||||||
_e_toolbar_menu_items_append, tbar);
|
_e_toolbar_menu_items_append, tbar);
|
||||||
e_gadcon_populate(tbar->gadcon);
|
e_gadcon_populate(tbar->gadcon);
|
||||||
|
|
||||||
|
_e_toolbar_gadcon_size_request(tbar, tbar->gadcon, 0, 0);
|
||||||
toolbars = eina_list_append(toolbars, tbar);
|
toolbars = eina_list_append(toolbars, tbar);
|
||||||
return tbar;
|
return tbar;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue