Author: kirilla Date: 2011-03-04 23:34:20 +0100 (Fri, 04 Mar 2011) New Revision: 40811 Changeset: http://dev.haiku-os.org/changeset/40811 Modified: haiku/trunk/src/apps/aboutsystem/Jamfile haiku/trunk/src/apps/activitymonitor/Jamfile haiku/trunk/src/apps/bootmanager/Jamfile haiku/trunk/src/apps/cdplayer/Jamfile haiku/trunk/src/apps/charactermap/Jamfile haiku/trunk/src/apps/deskbar/BarWindow.cpp haiku/trunk/src/apps/deskbar/Jamfile haiku/trunk/src/apps/deskcalc/CalcWindow.cpp haiku/trunk/src/apps/deskcalc/Jamfile haiku/trunk/src/apps/devices/Jamfile haiku/trunk/src/apps/diskprobe/Jamfile Log: Some apps get the name lookup attribute. Modified: haiku/trunk/src/apps/aboutsystem/Jamfile =================================================================== --- haiku/trunk/src/apps/aboutsystem/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/aboutsystem/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -17,3 +17,8 @@ AboutSystem.cpp Utilities.cpp ; + +AddCatalogEntryAttribute AboutSystem + : + "x-vnd.Haiku-About:AboutWindow:About this system" +; Modified: haiku/trunk/src/apps/activitymonitor/Jamfile =================================================================== --- haiku/trunk/src/apps/activitymonitor/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/activitymonitor/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -24,3 +24,8 @@ DataSource.cpp SettingsWindow.cpp ; + +AddCatalogEntryAttribute ActivityMonitor + : + "x-vnd.Haiku-ActivityMonitor:ActivityWindow:ActivityMonitor" +; Modified: haiku/trunk/src/apps/bootmanager/Jamfile =================================================================== --- haiku/trunk/src/apps/bootmanager/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/bootmanager/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -28,6 +28,11 @@ DoCatalogs BootManager : x-vnd.Haiku-BootManager : $(cataloguedSources) ; +AddCatalogEntryAttribute BootManager + : + "x-vnd.Haiku-BootManager:BootManagerWindow:BootManager" +; + # Assemble the boot loader, and convert it into a header file # TODO: should be merged with the AssembleNasm rule Modified: haiku/trunk/src/apps/cdplayer/Jamfile =================================================================== --- haiku/trunk/src/apps/cdplayer/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/cdplayer/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -22,3 +22,8 @@ : CDPlayer.cpp ; + +AddCatalogEntryAttribute CDPlayer + : + "x-vnd.Haiku-CDPlayer:CDPlayer:CDPlayer" +; Modified: haiku/trunk/src/apps/charactermap/Jamfile =================================================================== --- haiku/trunk/src/apps/charactermap/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/charactermap/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -22,3 +22,8 @@ CharacterWindow.cpp UnicodeBlocks.cpp ; + +AddCatalogEntryAttribute CharacterMap + : + "x-vnd.Haiku-CharacterMap:CharacterWindow:CharacterMap" +; Modified: haiku/trunk/src/apps/deskbar/BarWindow.cpp =================================================================== --- haiku/trunk/src/apps/deskbar/BarWindow.cpp 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/deskbar/BarWindow.cpp 2011-03-04 22:34:20 UTC (rev 40811) @@ -43,6 +43,7 @@ #include <Path.h> #include <Debug.h> #include <File.h> +#include <Locale.h> #include <MenuItem.h> #include <MessageFilter.h> #include <Screen.h> @@ -58,6 +59,10 @@ #include <MessagePrivate.h> +#undef B_TRANSLATE_CONTEXT +#define B_TRANSLATE_CONTEXT "MainWindow" + + // This is a very ugly hack to be able to call the private BMenuBar::StartMenuBar() // method from the TBarWindow::ShowBeMenu() method. // Don't do this at home -- but why the hell is this method private? @@ -78,7 +83,7 @@ TBarWindow::TBarWindow() : - BWindow(BRect(-1000.0f, -1000.0f, -1000.0f, -1000.0f), "Deskbar", + BWindow(BRect(-1000.0f, -1000.0f, -1000.0f, -1000.0f), B_TRANSLATE("Deskbar"), B_BORDERED_WINDOW, B_WILL_ACCEPT_FIRST_CLICK | B_NOT_ZOOMABLE | B_NOT_CLOSABLE | B_NOT_MINIMIZABLE | B_NOT_MOVABLE | B_NOT_RESIZABLE Modified: haiku/trunk/src/apps/deskbar/Jamfile =================================================================== --- haiku/trunk/src/apps/deskbar/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/deskbar/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -45,9 +45,15 @@ DoCatalogs Deskbar : x-vnd.Be-TSKB : + BarWindow.cpp BeMenu.cpp PreferencesWindow.cpp StatusView.cpp TimeView.cpp WindowMenu.cpp ; + +AddCatalogEntryAttribute Deskbar + : + "x-vnd.Be-TSKB:MainWindow:Deskbar" +; Modified: haiku/trunk/src/apps/deskcalc/CalcWindow.cpp =================================================================== --- haiku/trunk/src/apps/deskcalc/CalcWindow.cpp 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/deskcalc/CalcWindow.cpp 2011-03-04 22:34:20 UTC (rev 40811) @@ -15,17 +15,19 @@ #include <assert.h> #include <Application.h> +#include <Catalog.h> #include <Dragger.h> #include <Screen.h> #include "CalcView.h" -static const char* kWindowTitle = "DeskCalc"; +#undef B_TRANSLATE_CONTEXT +#define B_TRANSLATE_CONTEXT "Window" CalcWindow::CalcWindow(BRect frame, BMessage* settings) - : BWindow(frame, kWindowTitle, B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS) + : BWindow(frame, B_TRANSLATE("DeskCalc"), B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS) { // create calculator view with calculator description and // desktop background color Modified: haiku/trunk/src/apps/deskcalc/Jamfile =================================================================== --- haiku/trunk/src/apps/deskcalc/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/deskcalc/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -22,4 +22,10 @@ : CalcApplication.cpp CalcView.cpp + CalcWindow.cpp ; + +AddCatalogEntryAttribute DeskCalc + : + "x-vnd.Haiku-DeskCalc:Window:DeskCalc" +; Modified: haiku/trunk/src/apps/devices/Jamfile =================================================================== --- haiku/trunk/src/apps/devices/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/devices/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -88,6 +88,11 @@ Device.cpp ; +AddCatalogEntryAttribute Devices + : + "x-vnd.Haiku-Devices:DevicesApplication:Devices" +; + Includes [ FGristFiles DevicesInfo.cpp ] : [ FGristFiles isapnpids.h usbdevs.h usbdevs_data.h ] ; Includes [ FGristFiles ConfigurationWindow.cpp ] : [ FGristFiles pcihdr.h ] ; Modified: haiku/trunk/src/apps/diskprobe/Jamfile =================================================================== --- haiku/trunk/src/apps/diskprobe/Jamfile 2011-03-04 21:31:11 UTC (rev 40810) +++ haiku/trunk/src/apps/diskprobe/Jamfile 2011-03-04 22:34:20 UTC (rev 40811) @@ -31,3 +31,8 @@ ProbeView.cpp TypeEditors.cpp ; + +AddCatalogEntryAttribute DiskProbe + : + "x-vnd.Haiku-DiskProbe:OpenWindow:DiskProbe" +;