summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_widget.c')
-rw-r--r--src/lib/elementary/elm_code_widget.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index dee9751fb9..5d1fc785ef 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -2250,6 +2250,9 @@ _elm_code_widget_efl_ui_widget_theme_apply(Eo *obj, Elm_Code_Widget_Data *pd)
2250 unsigned int i; 2250 unsigned int i;
2251 Evas_Object *grid; 2251 Evas_Object *grid;
2252 2252
2253 if (!efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)))
2254 return EFL_UI_THEME_APPLY_FAILED;
2255
2253 edje = elm_layout_edje_get(obj); 2256 edje = elm_layout_edje_get(obj);
2254 edje_object_color_class_get(edje, "elm/code/status/default", &r, &g, &b, &a, 2257 edje_object_color_class_get(edje, "elm/code/status/default", &r, &g, &b, &a,
2255 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 2258 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -2285,12 +2288,12 @@ _elm_code_widget_efl_canvas_group_group_add(Eo *obj, Elm_Code_Widget_Data *pd)
2285 const char *fontname, *fontsize; 2288 const char *fontname, *fontsize;
2286 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 2289 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
2287 2290
2291 efl_canvas_group_add(efl_super(obj, ELM_CODE_WIDGET_CLASS));
2288 if (!elm_widget_theme_klass_get(obj)) 2292 if (!elm_widget_theme_klass_get(obj))
2289 elm_widget_theme_klass_set(obj, "code"); 2293 elm_widget_theme_klass_set(obj, "code");
2290 elm_widget_theme_element_set(obj, "layout"); 2294 elm_widget_theme_element_set(obj, "layout");
2291 _elm_code_widget_efl_ui_widget_theme_apply(obj, pd); 2295 _elm_code_widget_efl_ui_widget_theme_apply(obj, pd);
2292 2296
2293 efl_canvas_group_add(efl_super(obj, ELM_CODE_WIDGET_CLASS));
2294 elm_object_focus_allow_set(obj, EINA_TRUE); 2297 elm_object_focus_allow_set(obj, EINA_TRUE);
2295 pd->alpha = 255; 2298 pd->alpha = 255;
2296 2299