[Frugalware-darcs] fw-control-center: gnetconfig: don't allow blank interface name while saving new interface.

Priyank priyank at frugalware.org
Thu Jun 28 18:23:24 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fw-control-center;a=darcs_commitdiff;h=20070628162135-5ce2c-72ba366ef4d46ca895bd69049002759643137504.gz;

[gnetconfig: don't allow blank interface name while saving new interface.
Priyank <priyank at frugalware.org>**20070628162135] {
hunk ./gnetconfig/src/gnetconfig-new_interface.c 254
+	if (gtk_entry_get_text(GTK_ENTRY(gn_nif_name_entry))==NULL || !strlen(gtk_entry_get_text(GTK_ENTRY(gn_nif_name_entry))))
+	{
+		gn_error ("Interface name cannot be blank.");
+		return;
+	}
}


More information about the Frugalware-darcs mailing list