network: hide hotspot dialog on Escape
https://bugzilla.gnome.org/show_bug.cgi?id=721163
This commit is contained in:
parent
cde472b6b2
commit
5e35864e28
1 changed files with 3 additions and 0 deletions
|
@ -1123,6 +1123,9 @@ start_hotspot (GtkButton *button, NetDeviceWifi *device_wifi)
|
|||
|
||||
g_signal_connect (dialog, "response",
|
||||
G_CALLBACK (start_hotspot_response_cb), device_wifi);
|
||||
g_signal_connect (dialog, "delete-event",
|
||||
G_CALLBACK (gtk_widget_hide_on_delete), NULL);
|
||||
|
||||
gtk_window_present (GTK_WINDOW (dialog));
|
||||
g_free (active_ssid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue