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

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39087 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia
2010-10-23 20:18:22 +00:00
parent 974d4226ff
commit afbf2c78d1
3 changed files with 29 additions and 31 deletions
@@ -50,8 +50,6 @@ InspectorApp::InspectorApp()
fpActivesWin = NULL; fpActivesWin = NULL;
fpInfoWin = NULL; fpInfoWin = NULL;
be_locale->GetAppCatalog(&fAppCatalog);
AddToTranslatorsList("/system/add-ons/Translators", AddToTranslatorsList("/system/add-ons/Translators",
SYSTEM_TRANSLATOR); SYSTEM_TRANSLATOR);
AddToTranslatorsList("/boot/home/config/add-ons/Translators", AddToTranslatorsList("/boot/home/config/add-ons/Translators",
@@ -57,7 +57,6 @@ private:
BList flstTranslators; BList flstTranslators;
ActiveTranslatorsWindow *fpActivesWin; ActiveTranslatorsWindow *fpActivesWin;
InfoWindow *fpInfoWin; InfoWindow *fpInfoWin;
BCatalog fAppCatalog;
}; };
#endif // #ifndef INSPECTORAPP_H #endif // #ifndef INSPECTORAPP_H
+2 -1
View File
@@ -20,5 +20,6 @@ DoCatalogs Inspector :
ActiveTranslatorsWindow.cpp ActiveTranslatorsWindow.cpp
; ;
LinkAgainst Inspector : be tracker locale translation $(TARGET_LIBSUPC++) ; LinkAgainst Inspector :
be tracker translation $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS) ;