summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElia Geretto <elia.f.geretto@gmail.com>2020-03-06 16:12:08 +0100
committerRobert Ancell <robert.ancell@canonical.com>2020-07-17 15:27:34 +1200
commit27f422aeb649b5e928c62820c87df6db7f387165 (patch)
tree0fdad13435d3cc1f14460fdffb81e2b804e7882f
parent80bb568930f6ca85715643b0852ae8e61d0245db (diff)
downloadgnome-control-center-gnome-3-34.tar.gz
printers: Do not authenticate SMB servers when search field is editedgnome-3-34
When the search field in the "Add Printer" dialog is edited, no authentication with a remote SMB server should be attempted. The server should just be added to the list and marked with "Server requires authentication". The user can then authenticate the server by clicking on it. The behavior described above is probably the intended one when the code was written, since there is no closure registered for the "authentication-required" signal in the function this commit modifies. This commit should simply restore the intended behavior. Resolves: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/755
-rw-r--r--panels/printers/pp-new-printer-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c
index 81a4cc1f6..04b404edc 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -1496,7 +1496,7 @@ search_for_remote_printers (THostSearchData *data)
data->dialog);
pp_samba_get_devices_async (self->samba_host,
- TRUE,
+ FALSE,
self->remote_host_cancellable,
get_samba_host_devices_cb,
data->dialog);