summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2016-12-05 15:24:35 -0200
committerBruno Dilly <bdilly@profusion.mobi>2016-12-19 14:58:35 -0200
commitc6399665ddb0f719df6514b78c9cf6f685dfbb0d (patch)
tree359e23e048a7af97f52df4fcb78084651914d8de /src/lib/edje
parent0ab6567b3e5ef63e97c97db01497619b7ea57f8d (diff)
edje: support action seats on edje_edit
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_edit.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index eab121f498..317892016e 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -13187,13 +13187,25 @@ _edje_generate_source_of_program(Evas_Object *obj, const char *program, Eina_Str
13187 13187
13188 case EDJE_ACTION_TYPE_FOCUS_SET: 13188 case EDJE_ACTION_TYPE_FOCUS_SET:
13189 { 13189 {
13190 BUF_APPEND(I4 "action: FOCUS_SET;\n"); 13190 if (epr->seat)
13191 {
13192 BUF_APPEND(I4 "action: FOCUS_SET ");
13193 BUF_APPENDF("\"%s\";\n", epr->seat);
13194 }
13195 else
13196 BUF_APPEND(I4 "action: FOCUS_SET;\n");
13191 break; 13197 break;
13192 } 13198 }
13193 13199
13194 case EDJE_ACTION_TYPE_FOCUS_OBJECT: 13200 case EDJE_ACTION_TYPE_FOCUS_OBJECT:
13195 { 13201 {
13196 BUF_APPEND(I4 "action: FOCUS_OBJECT;\n"); 13202 if (epr->seat)
13203 {
13204 BUF_APPEND(I4 "action: FOCUS_OBJECT ");
13205 BUF_APPENDF("\"%s\";\n", epr->seat);
13206 }
13207 else
13208 BUF_APPEND(I4 "action: FOCUS_OBJECT;\n");
13197 break; 13209 break;
13198 } 13210 }
13199 13211