[Frugalware-darcs] fw-control-center: gnetconfig: don't save an
interface without conn. type.
Priyank
priyank at frugalware.org
Sat Jun 16 20:20:51 CEST 2007
Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fw-control-center;a=darcs_commitdiff;h=20070616181519-5ce2c-e9da85288d3a4a01d834a77d7cee0160c1e393e9.gz;
[gnetconfig: don't save an interface without conn. type.
Priyank <priyank at frugalware.org>**20070616181519
* Do not allow the user to add a new interface without specifying its
connection type.
] {
hunk ./gnetconfig/src/gnetconfig-new_interface.c 254
+ }
+ if (gtk_combo_box_get_active(GTK_COMBO_BOX(gn_nconntype_combo)) == -1)
+ {
+ gn_error ("No connection type selected. Please select a connection type first.", ERROR_GUI);
+ g_free (nif);
+ return;
}
More information about the Frugalware-darcs
mailing list