remove debug and show pager by default

SVN revision: 12845
This commit is contained in:
handyande 2005-01-09 19:06:52 +00:00 committed by handyande
parent d086fe5e5d
commit 373734f6e1
2 changed files with 5 additions and 4 deletions

View File

@ -96,6 +96,10 @@ e_config_init(void)
em->name = strdup("temperature");
e_config->modules = evas_list_append(e_config->modules, em);
em->enabled = 1;
em = E_NEW(E_Config_Module, 1);
em->name = strdup("pager");
e_config->modules = evas_list_append(e_config->modules, em);
em->enabled = 1;
}
}

View File

@ -309,7 +309,6 @@ _pager_cb_up(void *data, Evas *e, Evas_Object *obj, void *event_info)
newy = (double)p->fy / (double)(hh - p->fy);
if (p->move && (p->conf->x == newx) && (p->conf->y == newy))
{
printf("clicked\n");
int x, y, w, h, xcount, ycount, cx, cy;
E_Zone *zone;
E_Desk *desk;
@ -323,16 +322,14 @@ printf("clicked\n");
for (x = 0; x < xcount; x++)
for (y = 0; y < ycount; y++)
{
printf("test %d, %d\n", x, y);
int left, right, top, bottom;
left = p->fx + x * w;
right = left + w;
top = p->fy + y * h;
bottom = top + h;
printf("l %d r %d t %d b %d = %d, %d\n", left, right, top, bottom, cx, cy);
if (left <= cx && cx < right && top <= cy && cy < bottom)
{
printf("matched %d, %d\n", x, y);
desk = e_desk_at_xy_get(zone, x, y);
e_desk_show(desk);
evas_object_move(p->screen, left, top);