elm_slider_value_set(evas_object_data_get(win,
"edje_collection_cache_slider"),
edje_col_c);
-
+
// elm_scroll_bounce_enabled_all_set(s_bounce);
elm_check_state_set(evas_object_data_get(win, "scroll_bounce_check"),
s_bounce);
ecore_event_handler_add(ELM_EVENT_CONFIG_ALL_CHANGED, _config_all_changed,
win);
-
+
evas_object_smart_callback_add(win, "delete,request", config_exit, NULL);
bg = elm_bg_add(win);
evas_object_size_hint_weight_set(bg, 1.0, 1.0);
_item_sizing_eval(navi_it);
}
-//FIXME: need to handle if this function is called while transition
+//FIXME: need to handle if this function is called while transition
static void
_item_style_set(Elm_Naviframe_Item *navi_it, const char *item_style)
{
ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
- //Return if new style is exsiting one.
+ //Return if new style is exsiting one.
if (item_style)
if (!strcmp(item_style, navi_it->style)) return;
if (wd->ontext)
{
char buf[1024];
-
+
snprintf(buf, sizeof(buf), "%s: %s", E_("State"), wd->ontext);
return strdup(buf);
}
if (wd->offtext)
{
char buf[1024];
-
+
snprintf(buf, sizeof(buf), "%s: %s", E_("State"), wd->offtext);
return strdup(buf);
}
_prop_all_update_cb(void *data __UNUSED__)
{
_prop_config_set();
- ecore_x_window_prop_string_set(_root_1st, _atom[ATOM_E_PROFILE],
+ ecore_x_window_prop_string_set(_root_1st, _atom[ATOM_E_PROFILE],
_elm_profile);
_prop_all_update_timer = NULL;
return EINA_FALSE;
{
unsigned char *config_data = NULL;
int size = 0;
-
+
config_data = eet_data_descriptor_encode(_config_edd, _elm_config, &size);
if (config_data)
{
Ecore_X_Atom atom;
char buf[512];
-
+
snprintf(buf, sizeof(buf), "ELM_CONFIG_%s", _elm_profile);
atom = ecore_x_atom_get(buf);
_atom_config = atom;
_prop_change_delay_cb(void *data __UNUSED__)
{
char *s;
-
+
s = ecore_x_window_prop_string_get(_root_1st, _atom[ATOM_E_PROFILE]);
if (s)
{
if (_prop_all_update_timer) ecore_timer_del(_prop_all_update_timer);
_prop_all_update_timer = ecore_timer_add(0.1, _prop_all_update_cb, NULL);
_prop_config_set();
- ecore_x_window_prop_string_set(_root_1st, _atom[ATOM_E_PROFILE],
+ ecore_x_window_prop_string_set(_root_1st, _atom[ATOM_E_PROFILE],
_elm_profile);
-#endif
+#endif
}
void
if (_prop_change_delay_timer) ecore_timer_del(_prop_change_delay_timer);
_prop_change_delay_timer = NULL;
#endif
-
+
#define ENGINE_COMPARE(name) (!strcmp(_elm_config->engine, name))
if (ENGINE_COMPARE(ELM_SOFTWARE_X11) ||
ENGINE_COMPARE(ELM_SOFTWARE_16_X11) ||
elm_toggle_add(Evas_Object *parent)
{
Evas_Object *obj;
-
+
obj = elm_check_add(parent);
elm_object_style_set(obj, "toggle");
elm_check_states_labels_set(obj, E_("ON"), E_("OFF"));