projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6fa75
)
[elm] Init code fix -- check.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Tue, 17 Jul 2012 18:44:36 +0000
(18:44 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Tue, 17 Jul 2012 18:44:36 +0000
(18:44 +0000)
SVN revision: 74010
src/lib/elm_check.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_check.c
b/src/lib/elm_check.c
index
a2b4ebc
..
e85da28
100644
(file)
--- a/
src/lib/elm_check.c
+++ b/
src/lib/elm_check.c
@@
-334,6
+334,9
@@
_elm_check_smart_add(Evas_Object *obj)
(_elm_access_object_get(obj), ELM_ACCESS_STATE, _access_state_cb, priv);
elm_widget_can_focus_set(obj, EINA_TRUE);
+
+ elm_layout_theme_set(obj, "check", "base", elm_widget_style_get(obj));
+ elm_layout_sizing_eval(obj);
}
static void
@@
-373,9
+376,6
@@
elm_check_add(Evas_Object *parent)
if (!elm_widget_sub_object_add(parent, obj))
ERR("could not add %p as sub object of %p", obj, parent);
- elm_layout_theme_set(obj, "check", "base", elm_widget_style_get(obj));
- elm_layout_sizing_eval(obj);
-
return obj;
}