Resources/AIConfirmationsAdvancedPreferences.nib/classes.nib
author Zachary West <zacw@adium.im>
Tue Jun 02 17:22:19 2009 -0400 (2009-06-02)
changeset 2450 08aa9c3a346c
permissions -rw-r--r--
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.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3 <plist version="1.0">
     4 <dict>
     5 	<key>IBClasses</key>
     6 	<array>
     7 		<dict>
     8 			<key>CLASS</key>
     9 			<string>NSApplication</string>
    10 			<key>LANGUAGE</key>
    11 			<string>ObjC</string>
    12 			<key>SUPERCLASS</key>
    13 			<string>NSResponder</string>
    14 		</dict>
    15 		<dict>
    16 			<key>CLASS</key>
    17 			<string>RBSplitView</string>
    18 			<key>LANGUAGE</key>
    19 			<string>ObjC</string>
    20 			<key>OUTLETS</key>
    21 			<dict>
    22 				<key>delegate</key>
    23 				<string>id</string>
    24 			</dict>
    25 			<key>SUPERCLASS</key>
    26 			<string>RBSplitSubview</string>
    27 		</dict>
    28 		<dict>
    29 			<key>CLASS</key>
    30 			<string>NSTextField</string>
    31 			<key>LANGUAGE</key>
    32 			<string>ObjC</string>
    33 			<key>SUPERCLASS</key>
    34 			<string>NSControl</string>
    35 		</dict>
    36 		<dict>
    37 			<key>CLASS</key>
    38 			<string>AIAdvancedPreferencePane</string>
    39 			<key>LANGUAGE</key>
    40 			<string>ObjC</string>
    41 			<key>SUPERCLASS</key>
    42 			<string>AIModularPane</string>
    43 		</dict>
    44 		<dict>
    45 			<key>CLASS</key>
    46 			<string>RBSplitSubview</string>
    47 			<key>LANGUAGE</key>
    48 			<string>ObjC</string>
    49 			<key>SUPERCLASS</key>
    50 			<string>NSView</string>
    51 		</dict>
    52 		<dict>
    53 			<key>CLASS</key>
    54 			<string>NSMenu</string>
    55 			<key>LANGUAGE</key>
    56 			<string>ObjC</string>
    57 			<key>SUPERCLASS</key>
    58 			<string>NSObject</string>
    59 		</dict>
    60 		<dict>
    61 			<key>ACTIONS</key>
    62 			<dict>
    63 				<key>adiumPrint</key>
    64 				<string>id</string>
    65 				<key>didAdjustSubviews</key>
    66 				<string>RBSplitView</string>
    67 				<key>prefsWindowWillClose</key>
    68 				<string>SS_PrefsController</string>
    69 				<key>toggleFindPanel</key>
    70 				<string>id</string>
    71 				<key>willAdjustSubviews</key>
    72 				<string>RBSplitView</string>
    73 			</dict>
    74 			<key>CLASS</key>
    75 			<string>NSObject</string>
    76 			<key>LANGUAGE</key>
    77 			<string>ObjC</string>
    78 		</dict>
    79 		<dict>
    80 			<key>CLASS</key>
    81 			<string>AILocalizationButton</string>
    82 			<key>LANGUAGE</key>
    83 			<string>ObjC</string>
    84 			<key>OUTLETS</key>
    85 			<dict>
    86 				<key>view_anchorToLeftSide</key>
    87 				<string>NSView</string>
    88 				<key>view_anchorToRightSide</key>
    89 				<string>NSView</string>
    90 				<key>window_anchorOnLeftSide</key>
    91 				<string>NSWindow</string>
    92 				<key>window_anchorOnRightSide</key>
    93 				<string>NSWindow</string>
    94 			</dict>
    95 			<key>SUPERCLASS</key>
    96 			<string>NSButton</string>
    97 		</dict>
    98 		<dict>
    99 			<key>CLASS</key>
   100 			<string>NSWindow</string>
   101 			<key>LANGUAGE</key>
   102 			<string>ObjC</string>
   103 			<key>SUPERCLASS</key>
   104 			<string>NSResponder</string>
   105 		</dict>
   106 		<dict>
   107 			<key>ACTIONS</key>
   108 			<dict>
   109 				<key>changePreference</key>
   110 				<string>id</string>
   111 			</dict>
   112 			<key>CLASS</key>
   113 			<string>AIConfirmationsAdvancedPreferences</string>
   114 			<key>LANGUAGE</key>
   115 			<string>ObjC</string>
   116 			<key>OUTLETS</key>
   117 			<dict>
   118 				<key>checkBox_confirmBeforeClosing</key>
   119 				<string>NSButton</string>
   120 				<key>checkBox_confirmBeforeQuitting</key>
   121 				<string>NSButton</string>
   122 				<key>checkBox_quitConfirmFT</key>
   123 				<string>NSButton</string>
   124 				<key>checkBox_quitConfirmOpenChats</key>
   125 				<string>NSButton</string>
   126 				<key>checkBox_quitConfirmUnread</key>
   127 				<string>NSButton</string>
   128 				<key>label_messageCloseConfirmation</key>
   129 				<string>NSTextField</string>
   130 				<key>label_quitConfirmation</key>
   131 				<string>NSTextField</string>
   132 				<key>matrix_closeConfirmType</key>
   133 				<string>NSMatrix</string>
   134 				<key>matrix_quitConfirmType</key>
   135 				<string>NSMatrix</string>
   136 			</dict>
   137 			<key>SUPERCLASS</key>
   138 			<string>AIAdvancedPreferencePane</string>
   139 		</dict>
   140 		<dict>
   141 			<key>CLASS</key>
   142 			<string>NSView</string>
   143 			<key>LANGUAGE</key>
   144 			<string>ObjC</string>
   145 			<key>SUPERCLASS</key>
   146 			<string>NSResponder</string>
   147 		</dict>
   148 		<dict>
   149 			<key>CLASS</key>
   150 			<string>NSCell</string>
   151 			<key>LANGUAGE</key>
   152 			<string>ObjC</string>
   153 			<key>SUPERCLASS</key>
   154 			<string>NSObject</string>
   155 		</dict>
   156 		<dict>
   157 			<key>ACTIONS</key>
   158 			<dict>
   159 				<key>changePreference</key>
   160 				<string>id</string>
   161 			</dict>
   162 			<key>CLASS</key>
   163 			<string>AIModularPane</string>
   164 			<key>LANGUAGE</key>
   165 			<string>ObjC</string>
   166 			<key>OUTLETS</key>
   167 			<dict>
   168 				<key>plugin</key>
   169 				<string>id</string>
   170 				<key>view</key>
   171 				<string>NSView</string>
   172 			</dict>
   173 			<key>SUPERCLASS</key>
   174 			<string>NSObject</string>
   175 		</dict>
   176 		<dict>
   177 			<key>CLASS</key>
   178 			<string>NSButton</string>
   179 			<key>LANGUAGE</key>
   180 			<string>ObjC</string>
   181 			<key>SUPERCLASS</key>
   182 			<string>NSControl</string>
   183 		</dict>
   184 		<dict>
   185 			<key>CLASS</key>
   186 			<string>AILocalizationTextField</string>
   187 			<key>LANGUAGE</key>
   188 			<string>ObjC</string>
   189 			<key>OUTLETS</key>
   190 			<dict>
   191 				<key>view_anchorToLeftSide</key>
   192 				<string>NSView</string>
   193 				<key>view_anchorToRightSide</key>
   194 				<string>NSView</string>
   195 				<key>window_anchorOnLeftSide</key>
   196 				<string>NSWindow</string>
   197 				<key>window_anchorOnRightSide</key>
   198 				<string>NSWindow</string>
   199 			</dict>
   200 			<key>SUPERCLASS</key>
   201 			<string>NSTextField</string>
   202 		</dict>
   203 		<dict>
   204 			<key>CLASS</key>
   205 			<string>NSButtonCell</string>
   206 			<key>LANGUAGE</key>
   207 			<string>ObjC</string>
   208 			<key>SUPERCLASS</key>
   209 			<string>NSActionCell</string>
   210 		</dict>
   211 		<dict>
   212 			<key>CLASS</key>
   213 			<string>SS_PrefsController</string>
   214 			<key>LANGUAGE</key>
   215 			<string>ObjC</string>
   216 			<key>OUTLETS</key>
   217 			<dict>
   218 				<key>delegate</key>
   219 				<string>id</string>
   220 			</dict>
   221 			<key>SUPERCLASS</key>
   222 			<string>NSObject</string>
   223 		</dict>
   224 	</array>
   225 	<key>IBVersion</key>
   226 	<string>1</string>
   227 </dict>
   228 </plist>