aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-05-20 17:36:34 +0100
committerTom Hacohen <tom@stosb.com>2013-05-20 17:38:00 +0100
commit2a5753da955c3292e91954a9de59d0870b0a159b (patch)
treedff6f2e768f108a34e5fed44f22c32659c3b102c
parentelm_diskselector.c: fixed potential bug of diskselector. (diff)
downloadelementary-2a5753da955c3292e91954a9de59d0870b0a159b.tar.gz
elm_config_clouseau_enable_* -> elm_config_clouseau_enabled_*.
Thanks to SeoZ for reporting this.
-rw-r--r--src/bin/config.c6
-rw-r--r--src/lib/elm_config.c4
-rw-r--r--src/lib/elm_config.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/config.c b/src/bin/config.c
index 758601213..be566f599 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -768,10 +768,10 @@ dbg_change(void *data __UNUSED__,
void *event_info __UNUSED__)
{
Eina_Bool val = elm_check_state_get(obj);
- Eina_Bool sel = elm_config_clouseau_enable_get();
+ Eina_Bool sel = elm_config_clouseau_enabled_get();
if (val == sel) return;
- elm_config_clouseau_enable_set(val);
+ elm_config_clouseau_enabled_set(val);
elm_config_all_flush();
elm_config_save();
}
@@ -1530,7 +1530,7 @@ _status_config_debug(Evas_Object *win,
evas_object_data_set(win, "clouseau_check", ck);
evas_object_size_hint_weight_set(ck, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(ck, EVAS_HINT_FILL, 0.5);
- elm_check_state_set(ck, elm_config_clouseau_enable_get());
+ elm_check_state_set(ck, elm_config_clouseau_enabled_get());
elm_box_pack_end(bx, ck);
evas_object_show(ck);
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index aee702ee4..1776dd98a 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -2303,13 +2303,13 @@ elm_config_disable_external_menu_set(Eina_Bool disable)
}
EAPI Eina_Bool
-elm_config_clouseau_enable_get(void)
+elm_config_clouseau_enabled_get(void)
{
return _elm_config->clouseau_enable;
}
EAPI void
-elm_config_clouseau_enable_set(Eina_Bool enable)
+elm_config_clouseau_enabled_set(Eina_Bool enable)
{
_elm_config->clouseau_enable = !!enable;
_elm_clouseau_reload();
diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h
index ec33f79d5..d9c3b863e 100644
--- a/src/lib/elm_config.h
+++ b/src/lib/elm_config.h
@@ -1170,7 +1170,7 @@ EAPI void elm_config_mirrored_set(Eina_Bool mirrored);
* @since 1.8
* @return EINA_TRUE if clouseau was tried to run, EINA_FALSE otherwise
*/
-EAPI Eina_Bool elm_config_clouseau_enable_get(void);
+EAPI Eina_Bool elm_config_clouseau_enabled_get(void);
/**
* Get the clouseau state. EINA_TRUE if clouseau should be attempted to be run.
@@ -1178,7 +1178,7 @@ EAPI Eina_Bool elm_config_clouseau_enable_get(void);
* @since 1.8
* @param enabled EINA_TRUE to try and run clouseau, EINA_FALSE otherwise.
*/
-EAPI void elm_config_clouseau_enable_set(Eina_Bool enabled);
+EAPI void elm_config_clouseau_enabled_set(Eina_Bool enabled);
/**
* Get the indicator service name according to the rotation degree.