diff options
author | Felipe Borges <felipeborges@gnome.org> | 2016-12-11 13:41:17 +0100 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2016-12-11 15:53:49 +0100 |
commit | b5a481cd28b6fdb1394e9a698eb79be3a4d80be6 (patch) | |
tree | 8a7aac304e8e05c2daabeae685dd3171afabfdcd | |
parent | d60644750a629cd1adbfd5eefbaef78de1b85cc0 (diff) | |
download | gnome-control-center-b5a481cd28b6fdb1394e9a698eb79be3a4d80be6.tar.gz |
printers: Prevent PpSamba from emiting "authentication-required" twice
https://bugzilla.gnome.org/show_bug.cgi?id=760783
-rw-r--r-- | panels/printers/pp-samba.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/panels/printers/pp-samba.c b/panels/printers/pp-samba.c index 4667911f8..6c1bbd8cf 100644 --- a/panels/printers/pp-samba.c +++ b/panels/printers/pp-samba.c @@ -112,6 +112,9 @@ get_auth_info (gpointer user_data) SMBData *data = (SMBData *) user_data; PpSamba *samba = PP_SAMBA (data->samba); + if (samba->priv->waiting == TRUE) + return FALSE; + samba->priv->waiting = TRUE; g_signal_emit_by_name (samba, "authentication-required"); |