summaryrefslogtreecommitdiff
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2020-12-09 23:07:30 +0100
committerBoris Faure <billiob@gmail.com>2020-12-09 23:07:30 +0100
commit083784b3750d3a42a04f0798948c710e460e4f8a (patch)
tree7308a634e93baab745c0bfa025bec533ed42d976 /src/bin/options_font.c
parent45308392499df4ec5c5f0a74b6f5413bfa30b584 (diff)
options_font: focus the filter entry
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index 1b19af1..d34e3be 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -533,6 +533,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
533 evas_object_show(bx); 533 evas_object_show(bx);
534 534
535 ctx->filter = o = elm_entry_add(bx); 535 ctx->filter = o = elm_entry_add(bx);
536 elm_object_focus_set(o, EINA_TRUE);
536 elm_entry_single_line_set(o, EINA_TRUE); 537 elm_entry_single_line_set(o, EINA_TRUE);
537 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); 538 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
538 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0); 539 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
@@ -545,6 +546,8 @@ options_font(Evas_Object *opbox, Evas_Object *term)
545 it_class->func.text_get = _cb_op_font_text_get; 546 it_class->func.text_get = _cb_op_font_text_get;
546 it_class->func.content_get = _cb_op_font_content_get; 547 it_class->func.content_get = _cb_op_font_content_get;
547 it_class->func.filter_get = _cb_font_filter_get; 548 it_class->func.filter_get = _cb_font_filter_get;
549 it_class->func.state_get = NULL;
550 it_class->func.del = NULL;
548 551
549 it_group = elm_genlist_item_class_new(); 552 it_group = elm_genlist_item_class_new();
550 it_group->item_style = "group_index"; 553 it_group->item_style = "group_index";