summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-06-12 07:58:17 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-06-12 15:41:21 +0300
commit74859c5d061bd4870737d7c2ab44ecadf8745bda (patch)
treef079f1f635e75cdbb4c9896deb0ac9db42c69fa9
parentafe8e6e2129b429ca50b84ed72a81e26a69bdd48 (diff)
Style: rename item style "level1" to "title"
This name more correctly for this style, because it's used only as header for heandle block items Change-Id: Id7e659e41233c1a16a9e77de576c7a414525c337
-rw-r--r--data/themes/default/widgets/genlist.edc2
-rw-r--r--src/bin/ui/blocks/ui_widget_list.c4
-rw-r--r--src/bin/ui/editors/image_editor.c2
-rw-r--r--src/bin/ui/editors/style_editor.c2
-rw-r--r--src/bin/ui/preference/preference.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/data/themes/default/widgets/genlist.edc b/data/themes/default/widgets/genlist.edc
index 1aa14c94..422957e5 100644
--- a/data/themes/default/widgets/genlist.edc
+++ b/data/themes/default/widgets/genlist.edc
@@ -150,7 +150,7 @@ group { name: "elm/genlist/item/default/default";
150 } 150 }
151} 151}
152 152
153group { name: "elm/genlist/item/level1/default"; 153group { name: "elm/genlist/item/title/default";
154 data { 154 data {
155 item: "texts" "elm.text"; 155 item: "texts" "elm.text";
156 item: "selectraise" "on"; 156 item: "selectraise" "on";
diff --git a/src/bin/ui/blocks/ui_widget_list.c b/src/bin/ui/blocks/ui_widget_list.c
index c4d37dc6..0eef01b4 100644
--- a/src/bin/ui/blocks/ui_widget_list.c
+++ b/src/bin/ui/blocks/ui_widget_list.c
@@ -882,7 +882,7 @@ ui_widget_list_add(Evas_Object *parent)
882 if (!_itc_widget) 882 if (!_itc_widget)
883 { 883 {
884 _itc_widget = elm_genlist_item_class_new(); 884 _itc_widget = elm_genlist_item_class_new();
885 _itc_widget->item_style = "level1"; 885 _itc_widget->item_style = "title";
886 _itc_widget->func.text_get = _item_widget_label_get; 886 _itc_widget->func.text_get = _item_widget_label_get;
887 _itc_widget->func.content_get = NULL; 887 _itc_widget->func.content_get = NULL;
888 _itc_widget->func.state_get = NULL; 888 _itc_widget->func.state_get = NULL;
@@ -891,7 +891,7 @@ ui_widget_list_add(Evas_Object *parent)
891 if (!_itc_layout) 891 if (!_itc_layout)
892 { 892 {
893 _itc_layout = elm_genlist_item_class_new(); 893 _itc_layout = elm_genlist_item_class_new();
894 _itc_layout->item_style = "level1"; 894 _itc_layout->item_style = "title";
895 _itc_layout->decorate_item_style = "mode"; 895 _itc_layout->decorate_item_style = "mode";
896 _itc_layout->func.text_get = _item_layout_label_get; 896 _itc_layout->func.text_get = _item_layout_label_get;
897 _itc_layout->func.content_get = _item_style_content_get; 897 _itc_layout->func.content_get = _item_style_content_get;
diff --git a/src/bin/ui/editors/image_editor.c b/src/bin/ui/editors/image_editor.c
index 03134b5a..81bc3635 100644
--- a/src/bin/ui/editors/image_editor.c
+++ b/src/bin/ui/editors/image_editor.c
@@ -375,7 +375,7 @@ genlist_item_classes_init()
375 if (!_itc_group) 375 if (!_itc_group)
376 { 376 {
377 _itc_group = elm_genlist_item_class_new(); 377 _itc_group = elm_genlist_item_class_new();
378 _itc_group->item_style = "level1"; 378 _itc_group->item_style = "title";
379 _itc_group->func.text_get = _grid_group_item_label_get; 379 _itc_group->func.text_get = _grid_group_item_label_get;
380 _itc_group->func.content_get = NULL; 380 _itc_group->func.content_get = NULL;
381 _itc_group->func.state_get = NULL; 381 _itc_group->func.state_get = NULL;
diff --git a/src/bin/ui/editors/style_editor.c b/src/bin/ui/editors/style_editor.c
index 0c8bc86c..f49b96a7 100644
--- a/src/bin/ui/editors/style_editor.c
+++ b/src/bin/ui/editors/style_editor.c
@@ -728,7 +728,7 @@ _form_left_side(Style_Editor *style_edit)
728 if (!_itc_style) 728 if (!_itc_style)
729 { 729 {
730 _itc_style = elm_genlist_item_class_new(); 730 _itc_style = elm_genlist_item_class_new();
731 _itc_style->item_style = "level1"; 731 _itc_style->item_style = "title";
732 _itc_style->func.text_get = _item_style_label_get; 732 _itc_style->func.text_get = _item_style_label_get;
733 _itc_style->func.content_get = NULL; 733 _itc_style->func.content_get = NULL;
734 _itc_style->func.state_get = NULL; 734 _itc_style->func.state_get = NULL;
diff --git a/src/bin/ui/preference/preference.c b/src/bin/ui/preference/preference.c
index b471b16e..142fc8ea 100644
--- a/src/bin/ui/preference/preference.c
+++ b/src/bin/ui/preference/preference.c
@@ -287,7 +287,7 @@ _form_left_side(Preferences *preference)
287 if (!_itc) 287 if (!_itc)
288 { 288 {
289 _itc = elm_genlist_item_class_new(); 289 _itc = elm_genlist_item_class_new();
290 _itc->item_style = "level1"; 290 _itc->item_style = "title";
291 _itc->func.text_get = _item_label_get; 291 _itc->func.text_get = _item_label_get;
292 _itc->func.content_get = NULL; 292 _itc->func.content_get = NULL;
293 _itc->func.state_get = NULL; 293 _itc->func.state_get = NULL;