[gnome-control-center] wifi: Fix to use the updated details to create hotspot
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wifi: Fix to use the updated details to create hotspot
- Date: Tue, 1 Feb 2022 17:54:25 +0000 (UTC)
commit 5855b661fe9b6b77f900dd9aeeeda7b109fb8c8c
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Tue Feb 1 22:42:25 2022 +0530
wifi: Fix to use the updated details to create hotspot
Let the callback to "response" signal run after the default
so that we use the updated details to create hotspot.
Otherwise, the changes made won't be used.
This is required as the default handler updates the connection
details in cc-wifi-hotspot-dialog.
panels/network/net-device-wifi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 216e462b0..7f6fcc777 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -723,7 +723,7 @@ start_hotspot_button_clicked_cb (NetDeviceWifi *self)
if (c)
cc_wifi_hotspot_dialog_set_connection (self->hotspot_dialog, c);
- g_signal_connect (self->hotspot_dialog, "response", G_CALLBACK (on_wifi_hotspot_dialog_respnse_cb),
self);
+ g_signal_connect_after (self->hotspot_dialog, "response", G_CALLBACK
(on_wifi_hotspot_dialog_respnse_cb), self);
gtk_window_present (GTK_WINDOW (self->hotspot_dialog));
gtk_popover_popdown (self->header_button_popover);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]