Update for the Catalog API change. Based on r37345. Review appreciated.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-10-23 20:12:26 +00:00
parent d129a68a72
commit a461e21f03
2 changed files with 2 additions and 5 deletions

View File

@ -11,7 +11,7 @@ Application InstalledPackages :
main.cpp
UninstallWindow.cpp
UninstallView.cpp
: be locale tracker translation z $(TARGET_LIBSUPC++)
: be tracker translation z $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS)
;
DoCatalogs InstalledPackages :

View File

@ -34,17 +34,14 @@ public:
private:
UninstallWindow* fWindow;
BCatalog fAppCatalog;
};
UninstallApplication::UninstallApplication()
:
BApplication("application/x-vnd.Haiku-InstalledPackages"),
fWindow(NULL),
fAppCatalog(NULL)
fWindow(NULL)
{
be_locale->GetAppCatalog(&fAppCatalog);
fWindow = new UninstallWindow();
fWindow->Show();
}