[PC-BSD Commits] r781 - in pcbsd: branches/1.4/ethernetconfig/src branches/1.4/wificonfig trunk/ethernetconfig/src trunk/wificonfig

svn at pcbsd.org svn at pcbsd.org
Fri Oct 5 09:53:28 PDT 2007


Author: tim
Date: 2007-10-05 09:53:27 -0700 (Fri, 05 Oct 2007)
New Revision: 781

Modified:
   pcbsd/branches/1.4/ethernetconfig/src/ethernetconfigwidget.cpp
   pcbsd/branches/1.4/wificonfig/wificonfigwidgetbase.ui.h
   pcbsd/trunk/ethernetconfig/src/ethernetconfigwidget.cpp
   pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
Log:
Fixed bug #62 - Apply button is correctly greyed out when the network adapter is disabled.

Modified: pcbsd/branches/1.4/ethernetconfig/src/ethernetconfigwidget.cpp
===================================================================
--- pcbsd/branches/1.4/ethernetconfig/src/ethernetconfigwidget.cpp	2007-10-03 12:08:08 UTC (rev 780)
+++ pcbsd/branches/1.4/ethernetconfig/src/ethernetconfigwidget.cpp	2007-10-05 16:53:27 UTC (rev 781)
@@ -117,6 +117,7 @@
 	{
 		saveValue( "/etc/rc.conf", "ifconfig_" + DeviceName + "=", "", -1);
 		runCommand("ifconfig " + DeviceName + " down");
+                buttonApply->setEnabled(FALSE);
 		return;
 	}
 

Modified: pcbsd/branches/1.4/wificonfig/wificonfigwidgetbase.ui.h
===================================================================
--- pcbsd/branches/1.4/wificonfig/wificonfigwidgetbase.ui.h	2007-10-03 12:08:08 UTC (rev 780)
+++ pcbsd/branches/1.4/wificonfig/wificonfigwidgetbase.ui.h	2007-10-05 16:53:27 UTC (rev 781)
@@ -31,6 +31,7 @@
     {
 	 saveValue( "/etc/rc.conf", "ifconfig_" + DeviceName, "", -1);
 	 runCommand("ifconfig " + DeviceName + " down");
+         pushApply->setEnabled(FALSE);
 	 return;
     }
     

Modified: pcbsd/trunk/ethernetconfig/src/ethernetconfigwidget.cpp
===================================================================
--- pcbsd/trunk/ethernetconfig/src/ethernetconfigwidget.cpp	2007-10-03 12:08:08 UTC (rev 780)
+++ pcbsd/trunk/ethernetconfig/src/ethernetconfigwidget.cpp	2007-10-05 16:53:27 UTC (rev 781)
@@ -117,6 +117,7 @@
 	{
 		saveValue( "/etc/rc.conf", "ifconfig_" + DeviceName + "=", "", -1);
 		runCommand("ifconfig " + DeviceName + " down");
+                buttonApply->setEnabled(FALSE);
 		return;
 	}
 

Modified: pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
===================================================================
--- pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-10-03 12:08:08 UTC (rev 780)
+++ pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-10-05 16:53:27 UTC (rev 781)
@@ -31,6 +31,7 @@
     {
 	 saveValue( "/etc/rc.conf", "ifconfig_" + DeviceName, "", -1);
 	 runCommand("ifconfig " + DeviceName + " down");
+         pushApply->setEnabled(FALSE);
 	 return;
     }
     



More information about the Commits mailing list