As per the subject. Protect the current background file for the
screenlock.
metrics
Index: e_desklock.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_desklock.c,v
retrieving revision 1.27
diff -u -r1.27 e_desklock.c
--- e_desklock.c 19 Sep 2006 12:26:31 -0000 1.27
+++ e_desklock.c 17 Oct 2006 15:05:02 -0000
@@ -84,6 +84,10 @@
if (e_config->desklock_use_timeout)
ecore_x_screensaver_timeout_set(e_config->desklock_timeout);
}
+
+ if (e_config->desklock_background)
+ e_filereg_register(e_config->desklock_background);
+
return 1;
}
@@ -91,6 +95,9 @@
e_desklock_shutdown(void)
{
e_desklock_hide();
+ if (e_config->desklock_background)
+ e_filereg_deregister(e_config->desklock_background);
+
return 1;
}
Index: e_int_config_desklock.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_config_desklock.c,v
retrieving revision 1.38
diff -u -r1.38 e_int_config_desklock.c
--- e_int_config_desklock.c 17 Oct 2006 11:10:27 -0000 1.38
+++ e_int_config_desklock.c 17 Oct 2006 15:05:50 -0000
@@ -499,8 +499,12 @@
if (cfdata->bg)
{
if (e_config->desklock_background)
+ {
+ e_filereg_deregister(e_config->desklock_background);
evas_stringshare_del(e_config->desklock_background);
+ }
e_config->desklock_background = evas_stringshare_add(cfdata->bg);
+ e_filereg_register(e_config->desklock_background);
}
if (_e_desklock_zone_num_get() > 1)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel