Create a new advanced preference called "Confirmations". Move Quit Confirmations there.
Adds a new confirmation type for closing message windows with more than 1 tab open. Fixes #12006.
This new preference has two options: always confirm, only confirm when there's unread content. Displays an alert sheet when trying to close the window.
2 // AIAdvancedPreferencesPlugin.m
5 // Created by Evan Schoenberg on 4/7/07.
8 #import "AIAdvancedPreferencesPlugin.h"
9 #import "AIAdvancedPreferences.h"
10 #import "AIMessageAlertsAdvancedPreferences.h"
11 #import "AIConfirmationsAdvancedPreferences.h"
13 @implementation AIAdvancedPreferencesPlugin
17 [AIAdvancedPreferences preferencePane];
19 // Generic advanced panes with no specific plugins.
20 messageAlertsPreferences = [[AIMessageAlertsAdvancedPreferences preferencePane] retain];
21 confirmationsPreferences = [[AIConfirmationsAdvancedPreferences preferencePane] retain];