From 3990f38ad2986cf0fa49b7f1c97bfb290713264e Mon Sep 17 00:00:00 2001 From: Seunggyun Kim Date: Wed, 23 Mar 2011 18:17:38 +0900 Subject: [PATCH] [genlist_edit,_macro, _styles.edc] Rollback edit mode --- themes/groups/genlist/genlist_edit.edc | 527 +++++++++++++++++++++---------- themes/groups/genlist/genlist_macro.edc | 16 - themes/groups/genlist/genlist_styles.edc | 110 ------- 3 files changed, 353 insertions(+), 300 deletions(-) diff --git a/themes/groups/genlist/genlist_edit.edc b/themes/groups/genlist/genlist_edit.edc index e57f795..1f453fb 100644 --- a/themes/groups/genlist/genlist_edit.edc +++ b/themes/groups/genlist/genlist_edit.edc @@ -1,5 +1,5 @@ /* - * NBeat-theme + * Beat-theme * * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd. * @@ -27,17 +27,33 @@ * vim:ts=3 */ - group { name: "elm/genlist/item/edit_default/default"; - alias: "elm/genlist/item_odd/edit_default/default"; - alias: "elm/genlist/item_compress/edit_default/default"; - alias: "elm/genlist/item_compress_odd/edit_default/default"; + #define EDIT_ICON_WIDTH 26 + #define EDIT_ICON_HEIGHT 26 + #define GENLIST_EDIT_CHECKBOX_WIDTH EDIT_ICON_WIDTH + #define GENLIST_EDIT_CHECKBOX_HEIGHT EDIT_ICON_HEIGHT - data.item: "edit_icons" "elm.edit.icon.1 elm.edit.icon.2"; - data.item: "icon_width" 60; + group { name: "elm/genlist/item/edit_control/default"; + alias: "elm/genlist/item_odd/edit_control/default"; + alias: "elm/genlist/item_compress/edit_control/default"; + alias: "elm/genlist/item_compress_odd/edit_control/default"; + + data.item: "reorder" "reorder_icon"; + data.item: "insert" "insert_icon"; + data.item: "delete" "select_icon"; + data.item: "del_confirm" "elm.icon.del_confirm"; + data.item: "icon_width" 50; + data.item: "del_button_style" "custom/red"; + data.item: "icons" "elm.swallow.end"; + data.item: "rename" "elm.swallow.edit_field_1line elm.swallow.edit_field_2line"; images { + image: "00_check_bg.png" COMP; + image: "00_check_checking.png" COMP; image: "01_list_reorder_bg_above.png" COMP; image: "01_list_reorder_bg_below.png" COMP; + image: "00_list_group_edit_field_middle.png" COMP; + image: "00_reorder_group_list_bg.png" COMP; + image: "00_list_body_bg.png" COMP; } parts { part { name: "base"; @@ -51,9 +67,8 @@ } BEAT_GENLIST_PART_PADDING_TOP( 0 ) BEAT_GENLIST_PART_PADDING_BOTTOM( 0 ) - BEAT_GENLIST_PART_PADDING_RIGHT( 10 ) - part { name: "elm.padding.reorder"; + part { name: "elm.padding.left"; type: RECT; scale: 1; description { state: "default" 0.0; @@ -69,13 +84,44 @@ fixed: 1 0; } } + + BEAT_GENLIST_PART_PADDING_RIGHT( 10 ) + + part { name: "reorder_left_image"; + clip_to: "disclip"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 15 0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.padding.left"; + to_y: "elm.padding.bottom"; + } + image.normal: "00_list_body_bg.png"; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + min: 15 0; + fixed: 1 0; + image.border: 0 0 13 13; + image.normal: "00_reorder_group_list_bg.png"; + } + } + part { name: "elm.edit_bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 1.0 1.0; - to_x: "elm.padding.reorder"; + to_x: "reorder_left_image"; to_y: "elm.padding.top"; } rel2 { @@ -85,59 +131,78 @@ color: GENLIST_PART_BG_COLOR_INC; } } - part { name: "elm.padding.icon1.left"; - type: RECT; + + part { name: "check_bg"; + clip_to: "disclip"; + mouse_events: 1; scale: 1; description { state: "default" 0.0; - min: 10 0; - fixed: 1 0; visible: 0; + min: 0 26; + fixed: 1 1; + align: 0.0 0.5; rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.reorder"; + relative: 1.0 0.5; + to_x: "reorder_left_image"; + to_y: "base"; } - rel2.to_x: "elm.padding.reorder"; - align: 0.0 0.0; + rel2 { + relative: 1.0 0.5; + to_x: "reorder_left_image"; + to_y: "base"; + } + image.normal: "00_check_bg.png"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 26 26; + } } - part { name: "elm.edit.icon.1"; + part { name: "check_checking"; clip_to: "disclip"; - type: SWALLOW; + mouse_events: 1; scale: 1; description { state: "default" 0.0; + visible: 0; min: 26 26; - max: 26 26; fixed: 1 1; align: 0.0 0.5; rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.icon1.left"; - to_y: "elm.padding.top"; + relative: 1.0 0.5; + to_x: "reorder_left_image"; + to_y: "base"; } rel2 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.padding.icon1.left"; - to_y: "elm.padding.bottom"; + relative: 1.0 0.5; + to_x: "reorder_left_image"; + to_y: "base"; } + image.normal: "00_check_checking.png"; } + description { state: "on_uncheck" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "on_check" 0.0; + inherit: "default" 0.0; + visible: 1; + } } - - part { name: "elm.padding.icon1.right"; + + part { name: "check_bg_touch_area"; type: RECT; + mouse_events: 1; scale: 1; description { state: "default" 0.0; - min: 10 0; + min: (GENLIST_EDIT_CHECKBOX_WIDTH+10) 0; fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; - } - rel2.to_x: "elm.edit.icon.1"; - align: 0.0 0.0; + align: 0 0.5; + rel1 { relative: 0 0; to_x: "check_bg"; } + rel2 { relative: 0 1; to_x: "check_bg"; } + color: 0 0 0 0; } } @@ -149,12 +214,12 @@ description { state: "default" 0.0; rel1 { relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; + to_x: "check_bg"; to_y: "elm.padding.top"; } rel2 { relative: 0.2 0.0; - to_x: "elm.edit.icon.2"; + to_x: "elm.swallow.end"; to_y: "elm.padding.bottom"; } } @@ -162,23 +227,9 @@ inherit: "default" 0.0; visible: 0; } - description { state: "renamed" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.3 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - } - } + } - part { name: "elm.edit.icon.2"; - clip_to: "disclip"; + part { name: "elm.swallow.end"; type: SWALLOW; scale: 1; description { state: "default" 0.0; @@ -191,12 +242,59 @@ to_x: "elm.padding.right"; } } - description { state: "disabled" 0.0; + description { state: "disable" 0.0; inherit: "default" 0.0; visible: 0; } } + part { name: "elm.swallow.edit_field_bg"; + type: IMAGE; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 1.0 0.0; + to_x: "check_bg"; + offset: 0 1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -6; + } + image.border: 13 13 9 9; + image.normal: "00_list_group_edit_field_middle.png"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + + part { name: "elm.swallow.edit_field_1line"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "check_bg"; + offset: 0 1; + } + rel2 { + relative: 0.98 1.0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bottom_line"; type: RECT; clip_to: "disclip"; @@ -205,10 +303,10 @@ min: 0 0; fixed: 0 1; visible: 1; - color: GENLIST_PART_BOTTOM_LINE_INC; + color: GENLIST_EDIT_PART_LINE_INC; rel1 { relative: 0.0 1.0; - to_x: "elm.edit_bg"; + to_x: "check_bg"; offset: 0 -1; } } @@ -256,54 +354,110 @@ visible: 1; } } + BEAT_GENLIST_PART_DISCLIP } programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } // reorder signal program { name: "reorder_enable"; signal: "elm,state,reorder_enable"; source: "elm"; action: STATE_SET "reorder" 0.0; - target: "elm.padding.reorder"; + target: "reorder_left_image"; + target: "elm.padding.left"; target: "bottom_line"; } program { name: "reorder_disable"; signal: "elm,state,reorder_disable"; source: "elm"; action: STATE_SET "default" 0.0; - target: "elm.padding.reorder"; + target: "reorder_left_image"; + target: "elm.padding.left"; target: "bottom_line"; } - program { name: "reorder_enable_effect"; signal: "elm,state,reorder_enable_effect"; source: "elm"; action: STATE_SET "reorder" 0.0; - transition: DECELERATE 0.5; - target: "elm.padding.reorder"; - target: "bottom_line"; - } + target: "reorder_left_image"; + after: "reorder_enable_padding_effect"; + } program { name: "reorder_disable_effect"; signal: "elm,state,reorder_disable_effect"; source: "elm"; action: STATE_SET "default" 0.0; + target: "reorder_left_image"; + after: "reorder_disable_padding_effect"; + } + program { name: "reorder_enable_padding_effect"; + source: "elm"; + action: STATE_SET "reorder" 0.0; transition: DECELERATE 0.5; - target: "elm.padding.reorder"; - target: "bottom_line"; - } + target: "elm.padding.left"; + target: "bottom_line"; + } + program { name: "reorder_disable_padding_effect"; + signal: "elm,state,reorder_disable"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.padding.left"; + target: "bottom_line"; + } + + // checkbox + program { + name: "on_select"; + signal: "mouse,clicked,1"; + source: "check_bg_touch_area"; + action: SIGNAL_EMIT "elm,action,item,select" "elm"; + } + program { + name: "enable_select_mode"; + signal: "elm,state,sel,enable"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "check_bg"; + } + program { + name: "disable_select_mode"; + signal: "elm,state,sel,disable"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "check_bg"; + } + program { + name: "enable_select_effect_mode"; + signal: "elm,state,sel,enable_effect"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: DECELERATE 0.5; + target: "check_bg"; + } + program { + name: "disable_select_effect_mode"; + signal: "elm,state,sel,disable_effect"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "check_bg"; + } + program { + name: "enable_delete"; + signal: "elm,state,sel_uncheck"; + source: "elm"; + action: STATE_SET "on_uncheck" 0.0; + target: "check_checking"; + } + program { + name: "select_icon_check_mode"; + signal: "elm,state,sel_check"; + source: "elm"; + action: STATE_SET "on_check" 0.0; + target: "check_checking"; + } + // reorder glow program { name: "show_reorder_glow"; @@ -325,31 +479,26 @@ // rename program { name: "enable_rename_mode"; - signal: "elm,state,rename,enabled"; + signal: "elm,state,rename,enable"; source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.edit.icon.2"; - after: "enable_rename_mode_next"; - } - program { - name: "enable_rename_mode_next"; - action: STATE_SET "renamed" 0.0; -// transition: DECELERATE 0.5; - target: "original_edc"; + action: STATE_SET "enabled" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.edit_field_bg"; + target: "elm.swallow.edit_field_1line"; } program { name: "disable_rename_mode"; - signal: "elm,state,rename,disabled"; + signal: "elm,state,rename,disable"; source: "elm"; action: STATE_SET "default" 0.0; -// transition: DECELERATE 0.5; - target: "original_edc"; - target: "elm.edit.icon.2"; + transition: DECELERATE 0.3; + target: "elm.swallow.edit_field_bg"; + target: "elm.swallow.edit_field_1line"; } } } - group { name: "elm/genlist/item/select_all/default"; + group { name: "elm/genlist/item/select_all/default"; alias: "elm/genlist/item_odd/select_all/default"; alias: "elm/genlist/item_compress/select_all/default"; alias: "elm/genlist/item_compress_odd/select_all/default"; @@ -357,10 +506,7 @@ data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "labels" "elm.text"; - data.item: "icons" "elm.icon"; - images { - image: "00_list_bar_press_1x80.png" COMP; - } + parts { part { name: "base"; type: RECT; @@ -368,60 +514,35 @@ scale: 1; description { state: "default" 0.0; min: 0 70; - color: 239 237 230 255; + color: GENLIST_PART_BG_COLOR_INC; } } + part { name: "bg"; type: RECT; clip_to: "disclip"; repeat_events: 0; mouse_events: 0; - description { state: "default" 0.0; - color: 239 237 230 255; + description { state: "default" 0.0; + color: GENLIST_PART_SELECT_ALL_BG_COLOR_INC; } } + BEAT_GENLIST_PART_BG_IMAGE BEAT_GENLIST_PART_BOTTOM_LINE - BEAT_GENLIST_PART_PADDING_TOP( 15 ) - BEAT_GENLIST_PART_PADDING_BOTTOM( 15 ) - BEAT_GENLIST_PART_PADDING_LEFT( 15 ) + BEAT_GENLIST_PART_PADDING_LEFT( 10 ) BEAT_GENLIST_PART_PADDING_RIGHT( 15 ) - - part { name: "elm.padding.icon.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 15 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon"; - } - rel2.to_x: "elm.icon"; - align: 0.0 0.0; - } - } - part { name: "elm.icon"; + part { name: "elm.swallow.end"; clip_to: "disclip"; type: SWALLOW; scale: 1; description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } + fixed: 1 0; + align: 1.0 0.5; + rel1.to_x: "elm.padding.right"; rel2 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; + relative: 0.0 1.0; + to_x: "elm.padding.right"; } } } @@ -431,18 +552,15 @@ mouse_events: 0; scale: 1; description { state: "default" 0.0; - align: 0.0 0.0; rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.icon.right"; - to_y: "elm.padding.top"; + relative: 1.0 0.0; + offset: 20 0; + to_x: "check_bg"; } rel2 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: 20 0; } color: GENLIST_PART_TEXT_COLOR_INC; text { @@ -450,42 +568,103 @@ size: 32; min: 0 1; align: 0.0 0.5; + text: "Select All"; } } description { state: "selected" 0.0; inherit: "default" 0.0; - color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; + color: 225 225 225 255; } } - BEAT_GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg_image"; - target: "elm.text"; + part { name: "check_bg"; + clip_to: "disclip"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 26 26; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.5; + to_x: "elm.padding.left"; + to_y: "base"; + } + rel2 { + relative: 1.0 0.5; + to_x: "elm.padding.left"; + to_y: "base"; + } + image.normal: "00_check_bg.png"; + } } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg_image"; - target: "elm.text"; - transition: LINEAR 0.1; + + part { name: "check_checking"; + clip_to: "disclip"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 26 26; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.5; + to_x: "elm.padding.left"; + to_y: "base"; + } + rel2 { + relative: 1.0 0.5; + to_x: "elm.padding.left"; + to_y: "base"; + } + image.normal: "00_check_checking.png"; + } + description { state: "on_uncheck" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "on_check" 0.0; + inherit: "default" 0.0; + visible: 1; + } } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; + + part { name: "check_bg_touch_area"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: (GENLIST_EDIT_CHECKBOX_WIDTH+10) 0; + fixed: 1 0; + align: 0 0.5; + rel1 { relative: 0 0; to_x: "check_bg"; } + rel2 { relative: 0 1; to_x: "check_bg"; } + color: 0 0 0 0; + } } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; + + BEAT_GENLIST_PART_DISCLIP + } + programs { + program { + name: "enable_select_check"; + signal: "elm,state,sel_check"; + source: "elm"; + action: STATE_SET "on_check" 0.0; + target: "check_checking"; + } + program { + name: "enable_select_uncheck"; + signal: "elm,state,sel_uncheck"; + source: "elm"; + action: STATE_SET "on_uncheck" 0.0; + target: "check_checking"; + } + program { + name: "on_mouse_click"; + signal: "mouse,click,1"; + source: "check_bg_touch_area"; + action: SIGNAL_EMIT "elm,action,select,click" "elm"; } } } diff --git a/themes/groups/genlist/genlist_macro.edc b/themes/groups/genlist/genlist_macro.edc index fe6c499..1759fdf 100644 --- a/themes/groups/genlist/genlist_macro.edc +++ b/themes/groups/genlist/genlist_macro.edc @@ -551,19 +551,3 @@ color: 0 0 0 0; \ } \ } - -#define BEAT_GENLIST_PROGRAM_RENAME \ - program { name: "rename_enabled"; \ - signal: "elm,state,rename,enabled"; \ - source: "elm"; \ - action: STATE_SET "rename_enabled" 0.0; \ - target: "elm.text"; \ - target: "elm.edit.rename"; \ - } \ - program { name: "rename_disabled"; \ - signal: "elm,state,rename,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - target: "elm.edit.rename"; \ - } diff --git a/themes/groups/genlist/genlist_styles.edc b/themes/groups/genlist/genlist_styles.edc index 2270758..18caf12 100644 --- a/themes/groups/genlist/genlist_styles.edc +++ b/themes/groups/genlist/genlist_styles.edc @@ -268,13 +268,10 @@ alias: "elm/genlist/item_odd/1line_textonly/default"; alias: "elm/genlist/item_compress/1line_textonly/default"; alias: "elm/genlist/item_compress_odd/1line_textonly/default"; - alias: "elm/genlist/item_compress/1text/default"; - alias: "elm/genlist/item_compress_odd/1text/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "labels" "elm.text"; - data.item: "renames" "elm.edit.rename"; images { image: "00_list_bar_press_1x80.png" COMP; } @@ -313,34 +310,6 @@ inherit: "default" 0.0; color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.edit.rename"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - offset: 0 0; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 0.5; - offset: 0 0; - to_x: "elm.padding.right"; - } - } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } } BEAT_GENLIST_PART_DISCLIP } @@ -377,7 +346,6 @@ action: STATE_SET "default" 0.0; target: "disclip"; } - BEAT_GENLIST_PROGRAM_RENAME } } @@ -673,7 +641,6 @@ data.item: "selectraise" "on"; data.item: "labels" "elm.text"; data.item: "icons" "elm.icon"; - data.item: "renames" "elm.edit.rename"; images { image: "00_list_bar_press_1x80.png" COMP; } @@ -752,36 +719,6 @@ inherit: "default" 0.0; color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.edit.rename"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "elm.padding.icon.left"; - to_y: "elm.padding.bottom"; - } - } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } } BEAT_GENLIST_PART_DISCLIP } @@ -813,7 +750,6 @@ action: STATE_SET "default" 0.0; target: "disclip"; } - BEAT_GENLIST_PROGRAM_RENAME } } @@ -4271,7 +4207,6 @@ data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "labels" "elm.text.1 elm.text.2"; - data.item: "renames" "elm.edit.rename"; images { image: "00_list_bar_press_1x80.png" COMP; } @@ -4316,10 +4251,6 @@ inherit: "default" 0.0; color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } } part { name: "elm.text.2"; clip_to: "disclip"; @@ -4352,33 +4283,6 @@ color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; } } - part { name: "elm.edit.rename"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 38; - fixed: 0 1; - align: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - } - description { state: "rename_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } BEAT_GENLIST_PART_DISCLIP } programs { @@ -4416,20 +4320,6 @@ action: STATE_SET "default" 0.0; target: "disclip"; } - program { name: "rename_enabled"; - signal: "elm,state,rename,enabled"; - source: "elm"; - action: STATE_SET "rename_enabled" 0.0; - target: "elm.text.1"; - target: "elm.edit.rename"; - } - program { name: "rename_disabled"; - signal: "elm,state,rename,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.1"; - target: "elm.edit.rename"; - } } } -- 2.7.4