[PC-BSD Commits] r1445 - pcbsd/trunk/SystemUpdater
svn at pcbsd.org
svn at pcbsd.org
Mon Feb 25 10:53:55 PST 2008
Author: kris
Date: 2008-02-25 10:53:55 -0800 (Mon, 25 Feb 2008)
New Revision: 1445
Modified:
pcbsd/trunk/SystemUpdater/UpdaterTray.cpp
Log:
Fixed a bug in the PBI updater, so that if no PBIs are installed it
shows that properly
Modified: pcbsd/trunk/SystemUpdater/UpdaterTray.cpp
===================================================================
--- pcbsd/trunk/SystemUpdater/UpdaterTray.cpp 2008-02-25 18:41:40 UTC (rev 1444)
+++ pcbsd/trunk/SystemUpdater/UpdaterTray.cpp 2008-02-25 18:53:55 UTC (rev 1445)
@@ -1650,6 +1650,13 @@
QTimer::singleShot( 500, this, SLOT(slotPBICheckUpdate()) );
SystemUpdaterDialog->clearPBIList();
contextMenuRefresh();
+ } else {
+ // Indicate that no new PBIs are available
+ QString newMsg = "<font color=\"#005500\">No available updates.</font>";
+ SystemUpdaterDialog->setTextAvailPBIUpdates( newMsg);
+ pbistatus = PBI_UPDATED;
+ newMsg = "( " + QDateTime::currentDateTime().toString("ddd MMM d - hh:mm ap") + ")";
+ SystemUpdaterDialog->setTextLastPBIUpdateDate( newMsg );
}
More information about the Commits
mailing list