summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Hwan Kim <the81.kim@samsung.com>2013-07-28 13:55:11 +0900
committerTae-Hwan Kim <the81.kim@samsung.com>2013-07-31 22:38:00 +0900
commit4c35d6e843b8a18da6c58331a1154f44985d00d1 (patch)
treeee5a19c6e84aa9e8966024bae57da019b928c380
parentaaddbd8f0ddc26760fa5e8c9a997f99c364d8371 (diff)
downloadefl-theme-tizen-4c35d6e843b8a18da6c58331a1154f44985d00d1.tar.gz
efl-theme-tizen-4c35d6e843b8a18da6c58331a1154f44985d00d1.tar.bz2
efl-theme-tizen-4c35d6e843b8a18da6c58331a1154f44985d00d1.zip
[Genlist] Reset "base" part when item cache is popped.
This can fix sound problem because "base" part can be disabled and sound also is disabled. Change-Id: I7eee43a6f49697a889d4da1ad60f6c96d20bbbe1
-rwxr-xr-xthemes/widgets/genlist/genlist_macro.edc8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/widgets/genlist/genlist_macro.edc b/themes/widgets/genlist/genlist_macro.edc
index fe79d898..87ab159a 100755
--- a/themes/widgets/genlist/genlist_macro.edc
+++ b/themes/widgets/genlist/genlist_macro.edc
@@ -1862,11 +1862,8 @@
new Float:vl; \
get_state(PART:"base", st, 30, vl); \
if (strcmp(st, "disabled")) \
- run_program(PROGRAM:"play_button_press"SRC); \
+ play_sample("touch_sound", 1.0); \
} \
- } \
- program { name: "play_button_press"SRC; \
- action: PLAY_SAMPLE "touch_sound" 1.0; \
}
#define GENLIST_PROGRAM_REORDER_SOUND( SRC ) \
@@ -2321,6 +2318,7 @@
#define GENLIST_PROGRAMS_NORMAL( TARGET ) \
programs { \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg"; \
target: "bg_clip"; \
target: "bottom_line"; \
@@ -2358,6 +2356,7 @@
#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \
programs { \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg_dialogue"; \
target: "elm.padding.left"; \
target: "elm.padding.right"; \
@@ -2413,6 +2412,7 @@
#define GENLIST_PROGRAMS_ENTRY( TARGET ) \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg"; \
target: "bg_clip"; \
target: "bottom_line"; \