network: hide hotspot dialog on Escape

https://bugzilla.gnome.org/show_bug.cgi?id=721163
This commit is contained in:
Frédéric Péters 2013-12-28 18:34:04 +01:00
parent cde472b6b2
commit 5e35864e28

View file

@ -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);
}