[tepl] LanguageChooserWidget: grab focus to the GtkSearchEntry
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] LanguageChooserWidget: grab focus to the GtkSearchEntry
- Date: Fri, 6 Nov 2020 18:45:19 +0000 (UTC)
commit f596f507f027161aee8d7a24313117bd921e0ebe
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Nov 6 19:40:33 2020 +0100
LanguageChooserWidget: grab focus to the GtkSearchEntry
The GtkSearchEntry must have the focus by default when the
TeplLanguageChooserWidget is shown.
tepl/tepl-language-chooser-widget.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tepl/tepl-language-chooser-widget.c b/tepl/tepl-language-chooser-widget.c
index 0fcc97e..03b6b9e 100644
--- a/tepl/tepl-language-chooser-widget.c
+++ b/tepl/tepl-language-chooser-widget.c
@@ -490,6 +490,7 @@ tepl_language_chooser_widget_init (TeplLanguageChooserWidget *chooser_widget)
chooser_widget);
select_first_row (chooser_widget);
+ gtk_widget_grab_focus (GTK_WIDGET (chooser_widget->priv->search_entry));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]