elementary: Fix elm_code theme lookup and use correct naming

This commit is contained in:
Andy Williams 2016-06-06 23:59:52 +01:00
parent cd0b50fada
commit da1506d4e8
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* simple layout to pack our scrolling content into an elm_layout */
group { name: "elm_code/layout/default";
group { name: "elm/code/layout/default";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;

View File

@ -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));
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);
evas_object_size_hint_weight_set(scroller, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);