The registrar marks itself now as a B_BACKGROUND_APP application, so that it
is no longer visible in the Deskbar. Changed registrar.rdef to match the same application flags, and added a comment that those flags are actually ignored. Cleaned it up a bit, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15508 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
da4580a278
commit
5d93a13bb4
@ -1145,7 +1145,8 @@ TRoster::Init()
|
||||
if (error == B_OK) {
|
||||
info->Init(be_app->Thread(), be_app->Team(),
|
||||
BMessenger::Private(be_app_messenger).Port(),
|
||||
B_EXCLUSIVE_LAUNCH, &ref, kRegistrarSignature);
|
||||
B_EXCLUSIVE_LAUNCH | B_BACKGROUND_APP, &ref,
|
||||
kRegistrarSignature);
|
||||
info->state = APP_STATE_REGISTERED;
|
||||
info->registration_time = system_time();
|
||||
error = AddApp(info);
|
||||
|
@ -3,43 +3,27 @@
|
||||
**
|
||||
*/
|
||||
|
||||
/* BEOS:APP_SIG :
|
||||
application:/x-vnd.obos.app-name
|
||||
*/
|
||||
|
||||
resource app_signature "application/x-vnd.haiku-registrar";
|
||||
|
||||
/* BEOS:APP_FLAGS :
|
||||
00000000 = SINGLE LAUNCH
|
||||
00000001 = MULTIPLE LAUNCH
|
||||
00000002 = EXCLUSIVE LAUNCH
|
||||
00000004 = BACKGROUND APP + SINGLE LAUNCH
|
||||
00000005 = BACKGROUND APP + MULTIPLE LAUNCH
|
||||
00000006 = BACKGROUND APP + EXCLUSIVE LAUNCH
|
||||
00000008 = ARGV_ONLY + SINGLE LAUNCH
|
||||
00000009 = ARGV_ONLY + MULTIPLE LAUNCH
|
||||
0000000A = ARGV_ONLY + EXCLUSIVE LAUNCH
|
||||
0000000C = ARGV_ONLY + BACKGROUND APP + SINGLE LAUNCH
|
||||
0000000D = ARGV_ONLY + BACKGROUND APP + MULTIPLE LAUNCH
|
||||
0000000E = ARGV_ONLY + BACKGROUND APP + EXCLUSIVE LAUNCH
|
||||
*/
|
||||
|
||||
resource app_flags B_SINGLE_LAUNCH | B_BACKGROUND_APP;
|
||||
resource app_flags B_EXCLUSIVE_LAUNCH | B_BACKGROUND_APP;
|
||||
/* the registrar's application flags are actually
|
||||
* ignored.
|
||||
* The actually used flags are set in TRoster::Init().
|
||||
*/
|
||||
|
||||
resource app_version {
|
||||
|
||||
major = 1,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
|
||||
|
||||
/* 0 = development 1 = alpha 2 = beta
|
||||
3 = gamma 4 = golden master 5 = final */
|
||||
variety = 1,
|
||||
|
||||
|
||||
internal = 0,
|
||||
|
||||
|
||||
short_info = "registrar",
|
||||
long_info = "OpenBeOS - registrar"
|
||||
long_info = "registrar, Copyright 2005, Haiku Inc."
|
||||
};
|
||||
|
||||
resource large_icon array {
|
||||
|
Loading…
Reference in New Issue
Block a user