SoftwareUpdater updates

Bug fix- show correct version on package uninstall list item tooltip
Correct if else formatting
Use the BPackageManager FullSync() function instead of Update
Change warning strings in BPackageManager to sentence casing
Show list item tooltip on a mouse down (helps with touch devices)
This commit is contained in:
Brian Hill
2017-03-20 06:51:06 -04:00
parent 8eee7007cf
commit ab8f11bff8
5 changed files with 57 additions and 47 deletions
+4 -3
View File
@@ -49,12 +49,13 @@ UpdateAction::Perform()
| BPackageManager::B_REFRESH_REPOSITORIES);
// These values indicate that all updates should be installed
int packageCount = 0;
const char* const packages = "";
//int packageCount = 0;
//const char* const packages = "";
// perform the update
// fUpdateManager->SetDebugLevel(1);
fUpdateManager->Update(&packages, packageCount);
//fUpdateManager->Update(&packages, packageCount);
fUpdateManager->FullSync();
} catch (BFatalErrorException ex) {
fUpdateManager->FinalUpdate(B_TRANSLATE("Updates did not complete"),
ex.Message());