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:
Axel Dörfler
2005-12-12 00:27:51 +00:00
parent da4580a278
commit 5d93a13bb4
2 changed files with 11 additions and 26 deletions
+2 -1
View File
@@ -1145,7 +1145,8 @@ TRoster::Init()
if (error == B_OK) { if (error == B_OK) {
info->Init(be_app->Thread(), be_app->Team(), info->Init(be_app->Thread(), be_app->Team(),
BMessenger::Private(be_app_messenger).Port(), 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->state = APP_STATE_REGISTERED;
info->registration_time = system_time(); info->registration_time = system_time();
error = AddApp(info); error = AddApp(info);
+6 -22
View File
@@ -3,31 +3,15 @@
** **
*/ */
/* BEOS:APP_SIG :
application:/x-vnd.obos.app-name
*/
resource app_signature "application/x-vnd.haiku-registrar"; resource app_signature "application/x-vnd.haiku-registrar";
/* BEOS:APP_FLAGS : resource app_flags B_EXCLUSIVE_LAUNCH | B_BACKGROUND_APP;
00000000 = SINGLE LAUNCH /* the registrar's application flags are actually
00000001 = MULTIPLE LAUNCH * ignored.
00000002 = EXCLUSIVE LAUNCH * The actually used flags are set in TRoster::Init().
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_version { resource app_version {
major = 1, major = 1,
middle = 0, middle = 0,
minor = 0, minor = 0,
@@ -39,7 +23,7 @@ resource app_version {
internal = 0, internal = 0,
short_info = "registrar", short_info = "registrar",
long_info = "OpenBeOS - registrar" long_info = "registrar, Copyright 2005, Haiku Inc."
}; };
resource large_icon array { resource large_icon array {