Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/conf_wallpaper
Modified Files:
e_int_config_wallpaper.c
Log Message:
fix zone num for wallpaper too
===================================================================
RCS file:
/cvs/e/e17/apps/e/src/modules/conf_wallpaper/e_int_config_wallpaper.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_int_config_wallpaper.c 24 Oct 2007 18:28:55 -0000 1.5
+++ e_int_config_wallpaper.c 29 Oct 2007 17:40:12 -0000 1.6
@@ -417,7 +417,7 @@
z = e_zone_current_get(c);
d = e_desk_current_get(z);
- cfbg = e_bg_config_get(c->num, z->num, d->x, d->y);
+ cfbg = e_bg_config_get(c->num, z->id, d->x, d->y);
/* if we have a config for this bg, use it. */
if (cfbg)
{
@@ -796,11 +796,11 @@
}
else if (cfdata->all_this_desk_screen == E_CONFIG_WALLPAPER_DESK)
{
- e_bg_del(z->container->num, z->num, d->x, d->y);
+ e_bg_del(z->container->num, z->id, d->x, d->y);
e_bg_del(z->container->num, -1, d->x, d->y);
- e_bg_del(-1, z->num, d->x, d->y);
+ e_bg_del(-1, z->id, d->x, d->y);
e_bg_del(-1, -1, d->x, d->y);
- e_bg_add(z->container->num, z->num, d->x, d->y, cfdata->bg);
+ e_bg_add(z->container->num, z->id, d->x, d->y, cfdata->bg);
}
else if (cfdata->all_this_desk_screen == E_CONFIG_WALLPAPER_SCREEN)
@@ -812,7 +812,7 @@
cfbg = l->data;
if (
(cfbg->container == z->container->num) &&
- (cfbg->zone == z->num)
+ (cfbg->zone == z->id)
)
fl = evas_list_append(fl, cfbg);
}
@@ -823,7 +823,7 @@
e_bg_del(cfbg->container, cfbg->zone, cfbg->desk_x,
cfbg->desk_y);
fl = evas_list_remove_list(fl, fl);
}
- e_bg_add(z->container->num, z->num, -1, -1, cfdata->bg);
+ e_bg_add(z->container->num, z->id, -1, -1, cfdata->bg);
}
}
e_bg_update();
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs