From b3f48e23307e9840a1ee7c763d223f1cbde663ff Mon Sep 17 00:00:00 2001
From: Markus Himmel <markus@himmel-villmar.de>
Date: Sun, 26 Jul 2015 19:54:46 +0000
Subject: [PATCH] HaikuDepot: Update content tab when package is installed
This addresses #11886
---
src/apps/haikudepot/ui/PackageContentsView.cpp | 2 --
src/apps/haikudepot/ui/PackageInfoView.cpp | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/apps/haikudepot/ui/PackageContentsView.cpp b/src/apps/haikudepot/ui/PackageContentsView.cpp
index 6e6b08c..248cd61 100644
a
|
b
|
PackageContentsView::AllAttached()
|
283 | 283 | void |
284 | 284 | PackageContentsView::SetPackage(const PackageInfoRef& package) |
285 | 285 | { |
286 | | if (fPackage == package) |
287 | | return; |
288 | 286 | |
289 | 287 | // printf("PackageContentsView::SetPackage(%s)\n", |
290 | 288 | // package.Get() != NULL ? package->Name().String() : "NULL"); |
diff --git a/src/apps/haikudepot/ui/PackageInfoView.cpp b/src/apps/haikudepot/ui/PackageInfoView.cpp
index 5d95ce4..e880473 100644
a
|
b
|
PackageInfoView::MessageReceived(BMessage* message)
|
1427 | 1427 | |
1428 | 1428 | if ((changes & PKG_CHANGED_STATE) != 0) { |
1429 | 1429 | fPackageActionView->SetPackage(*package.Get()); |
| 1430 | fPagesView->SetPackage(package, false); |
1430 | 1431 | } |
1431 | 1432 | |
1432 | 1433 | break; |