From 7b206268ab32f60b2a64c84a3c914651dcdfc570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 28 Dec 2014 22:29:22 +0100 Subject: [PATCH] HaikuDepot: Hide Size column until it can be implemented Fixes #10394. --- src/apps/haikudepot/ui/PackageListView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/haikudepot/ui/PackageListView.cpp b/src/apps/haikudepot/ui/PackageListView.cpp index fde90295ee..0758a47889 100644 --- a/src/apps/haikudepot/ui/PackageListView.cpp +++ b/src/apps/haikudepot/ui/PackageListView.cpp @@ -451,7 +451,7 @@ enum { kTitleColumn, kRatingColumn, kDescriptionColumn, - kSizeColumn, +// kSizeColumn, kStatusColumn, }; @@ -480,7 +480,7 @@ PackageRow::PackageRow(const PackageInfoRef& packageRef, // Size // TODO: Store package size - SetField(new BStringField("0 KiB"), kSizeColumn); +// SetField(new BStringField("0 KiB"), kSizeColumn); // Status SetField(new BStringField(package_state_to_string(fPackage)), @@ -640,8 +640,8 @@ PackageListView::PackageListView(BLocker* modelLock) B_TRUNCATE_MIDDLE), kRatingColumn); AddColumn(new PackageColumn(B_TRANSLATE("Description"), 300, 80, 1000, B_TRUNCATE_MIDDLE), kDescriptionColumn); - AddColumn(new PackageColumn(B_TRANSLATE("Size"), 60, 50, 100, - B_TRUNCATE_END), kSizeColumn); +// AddColumn(new PackageColumn(B_TRANSLATE("Size"), 60, 50, 100, +// B_TRUNCATE_END), kSizeColumn); AddColumn(new PackageColumn(B_TRANSLATE("Status"), 60, 60, 100, B_TRUNCATE_END), kStatusColumn);