Slight mod to Whitelist reminder as per discussion

- remove the "ignore" option
- make it first run after install only
(pretty much the same behaviour - less scope for complaints.)
master
Beq 2024-11-08 20:59:47 +00:00
parent 8fa341cca7
commit f57864fbd5
3 changed files with 18 additions and 6 deletions

View File

@ -25920,5 +25920,16 @@ Change of this parameter will affect the layout of buttons in notification toast
<key>Value</key>
<integer>1</integer>
</map>
<key>FSShowWhitelistReminder</key>
<map>
<key>Comment</key>
<string>Show the whitelist reminder on first install.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
</map>
</map>
</llsd>

View File

@ -3336,8 +3336,13 @@ void login_show()
//LLPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
FSPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
// </FS:Ansariel> [FS Login Panel]
LLNotificationsUtil::add("WhitelistReminder"); // <FS:PP> Whitelist reminder
// <FS:PP> Whitelist reminder
if( gSavedSettings.getBOOL("FSShowWhitelistReminder") )
{
LLNotificationsUtil::add("WhitelistReminder");
gSavedSettings.setBOOL("FSShowWhitelistReminder", false);
}
// </FS:PP>
}
// Callback for when login screen is closed. Option 0 = connect, option 1 = quit.

View File

@ -14640,10 +14640,6 @@ Some antivirus programs may mistakenly block parts of [APP_NAME], slowing down i
For detailed instructions on how to whitelist [APP_NAME] - including a list of files and folders to exclude - please visit our guide:
https://wiki.firestormviewer.org/antivirus_whitelisting
<usetemplate
ignoretext="Show whitelist reminder on launch"
name="okignore"
yestext="OK"/>
</notification>
</notifications>