[PC-BSD Commits] r5254 - pcbsd/trunk/XGUISource

svn at pcbsd.org svn at pcbsd.org
Sat Dec 5 11:29:59 PST 2009


Author: kris
Date: 2009-12-05 11:29:59 -0800 (Sat, 05 Dec 2009)
New Revision: 5254

Modified:
   pcbsd/trunk/XGUISource/xgui.cpp
Log:

Also cleanup XGUI to shorten some VERY long vendor names when displaying :P



Modified: pcbsd/trunk/XGUISource/xgui.cpp
===================================================================
--- pcbsd/trunk/XGUISource/xgui.cpp	2009-12-05 19:28:57 UTC (rev 5253)
+++ pcbsd/trunk/XGUISource/xgui.cpp	2009-12-05 19:29:59 UTC (rev 5254)
@@ -60,6 +60,7 @@
 
     // Get the card name and display it
     tmp = getLineFromCommandOutput(scriptdir + "/cardboard.sh");
+    tmp.truncate(50);
     labelVideoCard->setText(tmp);
 
     // Get the Monitor Name and display it 
@@ -68,6 +69,7 @@
     {
        labelMonitor->setText(tr("Unknown Monitor"));
     } else {
+       tmp.truncate(50);
        labelMonitor->setText(tmp);
     }
 



More information about the Commits mailing list