forked from enlightenment/enlightenment
radio buttons look nicer....
and dont memset the object to 0!!!1 you just wiped out the magic number, callback funcs etc.! SVN revision: 12699
This commit is contained in:
parent
112ca3b2d2
commit
03caddc1c1
Binary file not shown.
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 682 B |
Binary file not shown.
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 843 B |
|
@ -42,7 +42,6 @@ e_container_new(E_Manager *man)
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
||||||
con = E_OBJECT_ALLOC(E_Container, _e_container_free);
|
con = E_OBJECT_ALLOC(E_Container, _e_container_free);
|
||||||
memset(con, 0, sizeof(E_Container));
|
|
||||||
if (!con) return NULL;
|
if (!con) return NULL;
|
||||||
con->manager = man;
|
con->manager = man;
|
||||||
e_object_ref(E_OBJECT(con->manager));
|
e_object_ref(E_OBJECT(con->manager));
|
||||||
|
|
|
@ -181,15 +181,11 @@ _e_manager_cb_window_show_request(void *data, int ev_type, void *ev)
|
||||||
e = ev;
|
e = ev;
|
||||||
if (e->parent != man->root) return 1; /* try other handlers for this */
|
if (e->parent != man->root) return 1; /* try other handlers for this */
|
||||||
|
|
||||||
/* handle map request here */
|
|
||||||
printf("REQ for map %x\n", e->win);
|
|
||||||
|
|
||||||
/*ecore_x_window_show(e->win); */
|
|
||||||
{
|
{
|
||||||
E_Container *con;
|
E_Container *con;
|
||||||
E_Border *bd;
|
E_Border *bd;
|
||||||
|
|
||||||
con = man->containers->data;
|
con = man->containers->data;
|
||||||
if (!e_border_find_by_client_window(e->win))
|
if (!e_border_find_by_client_window(e->win))
|
||||||
{
|
{
|
||||||
bd = e_border_new(con, e->win, 0);
|
bd = e_border_new(con, e->win, 0);
|
||||||
|
|
Loading…
Reference in New Issue