diff options
author | Corey Berla <corey@berla.me> | 2022-07-24 20:53:41 -0700 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2022-07-24 20:53:41 -0700 |
commit | dd5d1030b544187a5ba880be11c719d8ef7e6595 (patch) | |
tree | 797cad37ea5c4a82ec1590ba65cb3a13a5940626 /gtk | |
parent | 2b131f09a8403c9ba3d7288901a3c918840df2c3 (diff) | |
download | gtk+-dd5d1030b544187a5ba880be11c719d8ef7e6595.tar.gz |
mountoperation: Select "Anonymous" check button by default
It is already explicitly assumed that anonymous authentication will
be used when available, but it is not clear to the user since neither
of the check buttons are selected. Select the Anonymous check button
by default.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkmountoperation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index 2d14523e63..87f2647849 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -678,6 +678,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation, gtk_grid_attach (GTK_GRID (grid), anon_box, 1, rows++, 1, 1); choice = gtk_check_button_new_with_mnemonic (_("_Anonymous")); + gtk_check_button_set_active (GTK_CHECK_BUTTON (choice), TRUE); gtk_box_append (GTK_BOX (anon_box), choice); g_signal_connect (choice, "toggled", G_CALLBACK (pw_dialog_anonymous_toggled), operation); |