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
+5
View File
@@ -17,3 +17,8 @@ DoCatalogs AboutSystem :
AboutSystem.cpp AboutSystem.cpp
Utilities.cpp Utilities.cpp
; ;
AddCatalogEntryAttribute AboutSystem
:
"x-vnd.Haiku-About:AboutWindow:About this system"
;
+5
View File
@@ -24,3 +24,8 @@ DoCatalogs ActivityMonitor :
DataSource.cpp DataSource.cpp
SettingsWindow.cpp SettingsWindow.cpp
; ;
AddCatalogEntryAttribute ActivityMonitor
:
"x-vnd.Haiku-ActivityMonitor:ActivityWindow:ActivityMonitor"
;
+5
View File
@@ -28,6 +28,11 @@ Application BootManager :
DoCatalogs BootManager : x-vnd.Haiku-BootManager : $(cataloguedSources) ; 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 # Assemble the boot loader, and convert it into a header file
# TODO: should be merged with the AssembleNasm rule # TODO: should be merged with the AssembleNasm rule
+5
View File
@@ -22,3 +22,8 @@ DoCatalogs CDPlayer :
: :
CDPlayer.cpp CDPlayer.cpp
; ;
AddCatalogEntryAttribute CDPlayer
:
"x-vnd.Haiku-CDPlayer:CDPlayer:CDPlayer"
;
+5
View File
@@ -22,3 +22,8 @@ DoCatalogs CharacterMap :
CharacterWindow.cpp CharacterWindow.cpp
UnicodeBlocks.cpp UnicodeBlocks.cpp
; ;
AddCatalogEntryAttribute CharacterMap
:
"x-vnd.Haiku-CharacterMap:CharacterWindow:CharacterMap"
;
+6 -1
View File
@@ -43,6 +43,7 @@ All rights reserved.
#include <Path.h> #include <Path.h>
#include <Debug.h> #include <Debug.h>
#include <File.h> #include <File.h>
#include <Locale.h>
#include <MenuItem.h> #include <MenuItem.h>
#include <MessageFilter.h> #include <MessageFilter.h>
#include <Screen.h> #include <Screen.h>
@@ -58,6 +59,10 @@ All rights reserved.
#include <MessagePrivate.h> #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() // This is a very ugly hack to be able to call the private BMenuBar::StartMenuBar()
// method from the TBarWindow::ShowBeMenu() method. // method from the TBarWindow::ShowBeMenu() method.
// Don't do this at home -- but why the hell is this method private? // Don't do this at home -- but why the hell is this method private?
@@ -78,7 +83,7 @@ TBeMenu* TBarWindow::sBeMenu = NULL;
TBarWindow::TBarWindow() 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_BORDERED_WINDOW,
B_WILL_ACCEPT_FIRST_CLICK | B_NOT_ZOOMABLE | B_NOT_CLOSABLE B_WILL_ACCEPT_FIRST_CLICK | B_NOT_ZOOMABLE | B_NOT_CLOSABLE
| B_NOT_MINIMIZABLE | B_NOT_MOVABLE | B_NOT_RESIZABLE | B_NOT_MINIMIZABLE | B_NOT_MOVABLE | B_NOT_RESIZABLE
+6
View File
@@ -45,9 +45,15 @@ Application Deskbar :
DoCatalogs Deskbar : DoCatalogs Deskbar :
x-vnd.Be-TSKB x-vnd.Be-TSKB
: :
BarWindow.cpp
BeMenu.cpp BeMenu.cpp
PreferencesWindow.cpp PreferencesWindow.cpp
StatusView.cpp StatusView.cpp
TimeView.cpp TimeView.cpp
WindowMenu.cpp WindowMenu.cpp
; ;
AddCatalogEntryAttribute Deskbar
:
"x-vnd.Be-TSKB:MainWindow:Deskbar"
;
+4 -2
View File
@@ -15,17 +15,19 @@
#include <assert.h> #include <assert.h>
#include <Application.h> #include <Application.h>
#include <Catalog.h>
#include <Dragger.h> #include <Dragger.h>
#include <Screen.h> #include <Screen.h>
#include "CalcView.h" #include "CalcView.h"
static const char* kWindowTitle = "DeskCalc"; #undef B_TRANSLATE_CONTEXT
#define B_TRANSLATE_CONTEXT "Window"
CalcWindow::CalcWindow(BRect frame, BMessage* settings) 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 // create calculator view with calculator description and
// desktop background color // desktop background color
+6
View File
@@ -22,4 +22,10 @@ DoCatalogs DeskCalc :
: :
CalcApplication.cpp CalcApplication.cpp
CalcView.cpp CalcView.cpp
CalcWindow.cpp
;
AddCatalogEntryAttribute DeskCalc
:
"x-vnd.Haiku-DeskCalc:Window:DeskCalc"
; ;
+5
View File
@@ -88,6 +88,11 @@ DoCatalogs Devices :
Device.cpp Device.cpp
; ;
AddCatalogEntryAttribute Devices
:
"x-vnd.Haiku-Devices:DevicesApplication:Devices"
;
Includes [ FGristFiles DevicesInfo.cpp ] : [ FGristFiles isapnpids.h usbdevs.h Includes [ FGristFiles DevicesInfo.cpp ] : [ FGristFiles isapnpids.h usbdevs.h
usbdevs_data.h ] ; usbdevs_data.h ] ;
Includes [ FGristFiles ConfigurationWindow.cpp ] : [ FGristFiles pcihdr.h ] ; Includes [ FGristFiles ConfigurationWindow.cpp ] : [ FGristFiles pcihdr.h ] ;
+5
View File
@@ -31,3 +31,8 @@ DoCatalogs DiskProbe :
ProbeView.cpp ProbeView.cpp
TypeEditors.cpp TypeEditors.cpp
; ;
AddCatalogEntryAttribute DiskProbe
:
"x-vnd.Haiku-DiskProbe:OpenWindow:DiskProbe"
;