[PC-BSD Commits] r18561 - pcbsd/current/src-qt4/pc-sysmanager

svn at pcbsd.org svn at pcbsd.org
Wed Aug 22 09:15:46 PDT 2012


Author: kris
Date: 2012-08-22 16:15:46 +0000 (Wed, 22 Aug 2012)
New Revision: 18561

Modified:
   pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
Log:

Fix bugs not showing ibus / boot splash status in system manager



Modified: pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2012-08-22 16:14:24 UTC (rev 18560)
+++ pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2012-08-22 16:15:46 UTC (rev 18561)
@@ -229,7 +229,7 @@
 // Read the loader.conf, and load any settings we need
 void PBSystemTab::LoadKernSettings()
 {
-    if ( checkValue("/boot/loader.conf", "splash_pcx_load", "YES" ) ) { showBootCheck->setChecked(true); }
+    if ( checkValue("/boot/loader.conf", "splash_pcx_load=", "YES" ) ) { showBootCheck->setChecked(true); }
     else { showBootCheck->setChecked(false); }
 }
 
@@ -397,10 +397,10 @@
 	splashSelect->setCurrentIndex(langList.indexOf(selectedLang) + indexMod);
     }
     
-    if ( checkValue("/boot/loader.conf", "splash_pcx_load", "YES" ) )
+    if ( checkValue("/boot/loader.conf", "splash_pcx_load=", "YES" ) )
         	showBootCheck->setChecked(TRUE);
 
-    if ( Utils::getConfFileValue(QString(PREFIX + "/share/pcbsd/xstartup/enable-ibus.sh"), QString("FORCEIBUS") ) == QString("YES"))
+    if ( Utils::getConfFileValue(QString(PREFIX + "/share/pcbsd/xstartup/enable-ibus.sh"), QString("FORCEIBUS=") ) == QString("YES"))
 		checkForceIbus->setChecked(TRUE);
     else
 		checkForceIbus->setChecked(FALSE);



More information about the Commits mailing list