mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
Added new settings on the NotifyPage to enable or disable the systray icons for messages and posts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
51cc1d2b3b
commit
928e236103
7 changed files with 857 additions and 780 deletions
|
@ -54,6 +54,7 @@
|
|||
#define SETTING_NEWSFEED_FLAGS "NewsFeedFlags"
|
||||
#define SETTING_CHAT_FLAGS "ChatFlags"
|
||||
#define SETTING_NOTIFY_FLAGS "NotifyFlags"
|
||||
#define SETTING_TRAYNOTIFY_FLAGS "TrayNotifyFlags"
|
||||
#define SETTING_CHAT_AVATAR "ChatAvatar"
|
||||
|
||||
/* Default Retroshare Settings */
|
||||
|
@ -269,6 +270,16 @@ void RshareSettings::setNotifyFlags(uint flags)
|
|||
setValue(SETTING_NOTIFY_FLAGS, flags);
|
||||
}
|
||||
|
||||
uint RshareSettings::getTrayNotifyFlags()
|
||||
{
|
||||
return value(SETTING_TRAYNOTIFY_FLAGS, TRAYNOTIFY_ALL).toUInt();
|
||||
}
|
||||
|
||||
void RshareSettings::setTrayNotifyFlags(uint flags)
|
||||
{
|
||||
setValue(SETTING_TRAYNOTIFY_FLAGS, flags);
|
||||
}
|
||||
|
||||
bool RshareSettings::getDisplayTrayGroupChat()
|
||||
{
|
||||
return value("DisplayTrayGroupChat").toBool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue