[NetworkManager-openconnect/master: 6/10] SAML: increase GTK widget default size




commit 9e77ded21fdd5b8d0c9d314c560dc8d02f7494e7
Author: Luca Boccassi <luca boccassi microsoft com>
Date:   Tue Oct 12 20:43:53 2021 +0100

    SAML: increase GTK widget default size
    
    320x240 doesn't show the full login box, so increase it for better
    out of the box experience

 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 6031c6c..00d6741 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -761,7 +761,7 @@ static gboolean open_webview_idle(gpointer data)
        ctx->webview = webView;
 
        // Put the browser area into the main window
-       gtk_widget_set_size_request(GTK_WIDGET(webView), 320, 240);
+       gtk_widget_set_size_request(GTK_WIDGET(webView), 640, 480);
        gtk_box_pack_start(GTK_BOX(ui_data->ssl_box), GTK_WIDGET(webView), FALSE, FALSE, 0);
        gtk_widget_show_all(ui_data->ssl_box);
 


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