[Xfce4-commits] [xfce/xfce4-settings] 01/01: display: Make sure the "new profile" entry gets focus

noreply at xfce.org noreply at xfce.org
Tue Sep 25 23:45:00 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit fa80c6be40155ded36aca4aac1ce6379593f6852
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Tue Sep 25 23:44:24 2018 +0200

    display: Make sure the "new profile" entry gets focus
    
    This should make the interaction of creating a new profile more keyboard-friendly.
---
 dialogs/display-settings/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 7b29070..43c5e19 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1677,6 +1677,7 @@ display_settings_profile_create (GtkWidget *widget, GtkBuilder *builder)
     gtk_widget_set_margin_bottom (grid, 24);
     gtk_container_add (GTK_CONTAINER (popover), grid);
     gtk_widget_show_all (popover);
+    gtk_widget_grab_focus (GTK_WIDGET (profile_create_entry));
     gtk_widget_grab_default (button);
 
     g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (display_settings_profile_create_cb), builder);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list