forked from enlightenment/efl
elementary: Fix elm_code theme lookup and use correct naming
This commit is contained in:
parent
cd0b50fada
commit
da1506d4e8
|
@ -1,5 +1,5 @@
|
||||||
/* simple layout to pack our scrolling content into an elm_layout */
|
/* simple layout to pack our scrolling content into an elm_layout */
|
||||||
group { name: "elm_code/layout/default";
|
group { name: "elm/code/layout/default";
|
||||||
parts {
|
parts {
|
||||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
|
|
@ -1809,7 +1809,7 @@ _elm_code_widget_evas_object_smart_add(Eo *obj, Elm_Code_Widget_Data *pd)
|
||||||
evas_obj_smart_add(eo_super(obj, ELM_CODE_WIDGET_CLASS));
|
evas_obj_smart_add(eo_super(obj, ELM_CODE_WIDGET_CLASS));
|
||||||
elm_object_focus_allow_set(obj, EINA_TRUE);
|
elm_object_focus_allow_set(obj, EINA_TRUE);
|
||||||
|
|
||||||
elm_layout_file_set(obj, PACKAGE_DATA_DIR "/themes/default.edj", "elm_code/layout/default");
|
elm_layout_theme_set(obj, "code", "layout", "default");
|
||||||
|
|
||||||
scroller = elm_scroller_add(obj);
|
scroller = elm_scroller_add(obj);
|
||||||
evas_object_size_hint_weight_set(scroller, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
evas_object_size_hint_weight_set(scroller, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||||
|
|
Loading…
Reference in New Issue