[NetworkManager-openvpn: 1/3] auth-dialog: Use shorter strings for prompt titles



commit ad5633a14862a16c9db5794545c31dd3a0ef1160
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Tue Feb 4 18:58:31 2020 +0100

    auth-dialog: Use shorter strings for prompt titles
    
    The layout of modal dialogs changed in gnome-shell [1] and the title now
    has less space available. Make sure all titles remain fully visible and
    use shorter strings.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

 auth-dialog/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 41cc054..3ea09fe 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -172,7 +172,7 @@ eui_finish (const char *vpn_name,
        g_key_file_set_integer (keyfile, UI_KEYFILE_GROUP, "Version", 2);
        g_key_file_set_string (keyfile, UI_KEYFILE_GROUP, "Description", prompt);
 
-       title = g_strdup_printf (_("Authenticate VPN %s"), vpn_name);
+       title = g_strdup_printf (_("Authentication required"));
        g_key_file_set_string (keyfile, UI_KEYFILE_GROUP, "Title", title);
        g_free (title);
 


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