[evolution/gnome-42] I#1896 - Composer: Ensure URL entry is focused in Link Properties



commit d73945830e794490c5cf2af6a5ede5095ff2f4c2
Author: Milan Crha <mcrha redhat com>
Date:   Mon May 9 09:59:41 2022 +0200

    I#1896 - Composer: Ensure URL entry is focused in Link Properties
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1896

 src/e-util/e-html-editor-link-dialog.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/e-util/e-html-editor-link-dialog.c b/src/e-util/e-html-editor-link-dialog.c
index d69ae9dfae..3ad8ceac78 100644
--- a/src/e-util/e-html-editor-link-dialog.c
+++ b/src/e-util/e-html-editor-link-dialog.c
@@ -171,6 +171,8 @@ html_editor_link_dialog_show (GtkWidget *widget)
 
        /* Chain up to parent implementation */
        GTK_WIDGET_CLASS (e_html_editor_link_dialog_parent_class)->show (widget);
+
+       gtk_widget_grab_focus (dialog->priv->url_edit);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]