Notifications default to enabled on first boot.
* The server did this right, but the preflet would not check the checkbox when there was no settings file.
This commit is contained in:
parent
74d9b875c2
commit
af218cc4e1
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010, Haiku, Inc. All Rights Reserved.
|
* Copyright 2010-2014, Haiku, Inc. All Rights Reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
#ifndef _NOTIFICATIONS_H
|
#ifndef _NOTIFICATIONS_H
|
||||||
@ -10,7 +10,7 @@
|
|||||||
#define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
|
#define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
|
||||||
|
|
||||||
// Messages
|
// Messages
|
||||||
const uint32 kNotificationMessage = 'nssm';
|
const uint32 kNotificationMessage = 'nssm';
|
||||||
|
|
||||||
// Settings constants
|
// Settings constants
|
||||||
extern const char* kSettingsFile;
|
extern const char* kSettingsFile;
|
||||||
@ -20,8 +20,8 @@ extern const char* kAutoStartName;
|
|||||||
extern const char* kTimeoutName;
|
extern const char* kTimeoutName;
|
||||||
|
|
||||||
// General default settings
|
// General default settings
|
||||||
const float kDefaultAutoStart = false;
|
const bool kDefaultAutoStart = true;
|
||||||
const int32 kDefaultTimeout = 10;
|
const int32 kDefaultTimeout = 10;
|
||||||
|
|
||||||
// Display settings
|
// Display settings
|
||||||
extern const char* kWidthName;
|
extern const char* kWidthName;
|
||||||
@ -29,7 +29,7 @@ extern const char* kIconSizeName;
|
|||||||
extern const char* kLayoutName;
|
extern const char* kLayoutName;
|
||||||
|
|
||||||
// Display default settings
|
// Display default settings
|
||||||
const float kDefaultWidth = 300.0f;
|
const float kDefaultWidth = 300.0f;
|
||||||
const icon_size kDefaultIconSize = B_LARGE_ICON;
|
const icon_size kDefaultIconSize = B_LARGE_ICON;
|
||||||
|
|
||||||
#endif // _NOTIFICATIONS_H
|
#endif // _NOTIFICATIONS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user