Some apps get the name lookup attribute.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40811 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-03-04 22:34:20 +00:00
parent c8057498b3
commit cd7548f537
11 changed files with 57 additions and 3 deletions

View File

@ -17,3 +17,8 @@ DoCatalogs AboutSystem :
AboutSystem.cpp
Utilities.cpp
;
AddCatalogEntryAttribute AboutSystem
:
"x-vnd.Haiku-About:AboutWindow:About this system"
;

View File

@ -24,3 +24,8 @@ DoCatalogs ActivityMonitor :
DataSource.cpp
SettingsWindow.cpp
;
AddCatalogEntryAttribute ActivityMonitor
:
"x-vnd.Haiku-ActivityMonitor:ActivityWindow:ActivityMonitor"
;

View File

@ -28,6 +28,11 @@ Application BootManager :
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

View File

@ -22,3 +22,8 @@ DoCatalogs CDPlayer :
:
CDPlayer.cpp
;
AddCatalogEntryAttribute CDPlayer
:
"x-vnd.Haiku-CDPlayer:CDPlayer:CDPlayer"
;

View File

@ -22,3 +22,8 @@ DoCatalogs CharacterMap :
CharacterWindow.cpp
UnicodeBlocks.cpp
;
AddCatalogEntryAttribute CharacterMap
:
"x-vnd.Haiku-CharacterMap:CharacterWindow:CharacterMap"
;

View File

@ -43,6 +43,7 @@ All rights reserved.
#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 @@ All rights reserved.
#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 @@ TBeMenu* TBarWindow::sBeMenu = NULL;
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

View File

@ -45,9 +45,15 @@ Application Deskbar :
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"
;

View File

@ -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

View File

@ -22,4 +22,10 @@ DoCatalogs DeskCalc :
:
CalcApplication.cpp
CalcView.cpp
CalcWindow.cpp
;
AddCatalogEntryAttribute DeskCalc
:
"x-vnd.Haiku-DeskCalc:Window:DeskCalc"
;

View File

@ -88,6 +88,11 @@ DoCatalogs Devices :
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 ] ;

View File

@ -31,3 +31,8 @@ DoCatalogs DiskProbe :
ProbeView.cpp
TypeEditors.cpp
;
AddCatalogEntryAttribute DiskProbe
:
"x-vnd.Haiku-DiskProbe:OpenWindow:DiskProbe"
;