aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-10 14:05:08 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-10 14:05:08 +0000
commite0b0c10914f29d33c1f4b4d20e1e63077bb33244 (patch)
tree75466a17a592cc748db5c590c4a75e9ed64e3b60
parent5766883b04dc1bca2ab15e2b22e5c8d72320dae7 (diff)
downloadenlightenment-e0b0c10914f29d33c1f4b4d20e1e63077bb33244.tar.gz
enlightenment-e0b0c10914f29d33c1f4b4d20e1e63077bb33244.tar.xz
enlightenment-e0b0c10914f29d33c1f4b4d20e1e63077bb33244.zip
rename e_comp_shadow_set to e_comp_shadows_reset to be more descriptive about what it does
SVN revision: 82570
-rw-r--r--src/bin/e_comp.c2
-rw-r--r--src/bin/e_comp.h2
-rw-r--r--src/modules/conf_comp/e_mod_config.c4
-rw-r--r--src/modules/conf_comp/e_mod_main.c12
4 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 4a7c5bb04..faab25ef7 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -4200,7 +4200,7 @@ e_comp_config_get(void)
}
EAPI void
-e_comp_shadow_set(void)
+e_comp_shadows_reset(void)
{
Eina_List *l;
E_Comp *c;
diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h
index 05af005c9..e096c7fd3 100644
--- a/src/bin/e_comp.h
+++ b/src/bin/e_comp.h
@@ -15,7 +15,7 @@ EINTERN int e_comp_shutdown(void);
EAPI int e_comp_internal_save(void);
EAPI E_Comp_Config *e_comp_config_get(void);
-EAPI void e_comp_shadow_set(void);
+EAPI void e_comp_shadows_reset(void);
#endif
#endif
diff --git a/src/modules/conf_comp/e_mod_config.c b/src/modules/conf_comp/e_mod_config.c
index 18e519579..56bed0753 100644
--- a/src/modules/conf_comp/e_mod_config.c
+++ b/src/modules/conf_comp/e_mod_config.c
@@ -1490,7 +1490,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__,
_comp_mod->conf->shadow_style = NULL;
if (cfdata->shadow_style)
_comp_mod->conf->shadow_style = eina_stringshare_add(cfdata->shadow_style);
- e_comp_shadow_set();
+ e_comp_shadows_reset();
}
if ((cfdata->engine != _comp_mod->conf->engine) ||
(cfdata->indirect != _comp_mod->conf->indirect) ||
@@ -1693,7 +1693,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__,
_comp_mod->conf->shadow_style = NULL;
if (cfdata->shadow_style)
_comp_mod->conf->shadow_style = eina_stringshare_add(cfdata->shadow_style);
- e_comp_shadow_set();
+ e_comp_shadows_reset();
}
if ((cfdata->engine != _comp_mod->conf->engine) ||
(cfdata->indirect != _comp_mod->conf->indirect) ||
diff --git a/src/modules/conf_comp/e_mod_main.c b/src/modules/conf_comp/e_mod_main.c
index e36645bfb..966fdc489 100644
--- a/src/modules/conf_comp/e_mod_main.c
+++ b/src/modules/conf_comp/e_mod_main.c
@@ -119,22 +119,22 @@ e_modapi_init(E_Module *m)
co->requires_restart = 1;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_borders, mod->conf, _("Disable composite effects for windows"), _("composite"), _("border"), _("theme"), _("animate"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_menus, mod->conf, _("Disable composite effects for menus"), _("composite"), _("menu"), _("theme"), _("animate"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_popups, mod->conf, _("Disable composite effects for popups"), _("composite"), _("popup"), _("theme"), _("animate"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_overrides, mod->conf, _("Disable composite effects for override-redirect windows (tooltips and such)"), _("composite"), _("theme"), _("animate"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, smooth_windows, mod->conf, _("Smooth scaling of composited window content"), _("composite"), _("border"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, BOOL, nocomp_fs, mod->conf, _("Don't composite fullscreen windows"), _("composite"), _("border"));
- co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set;
+ co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset;
cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co));
E_CONFIGURE_OPTION_ADD(co, ENUM, engine, mod->conf, _("Compositing engine"), _("composite"), _("border"));
co->info_cb = _e_mod_engine_info_cb;