use ExtendedTableView for whitelist table so backspace works to delete. Use
exterior focus ring style on panther
This commit is contained in:
Родитель
740146122c
Коммит
7abe093365
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
IBClasses = (
|
||||
{CLASS = ExtendedTableView; LANGUAGE = ObjC; SUPERCLASS = NSTableView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{
|
||||
CLASS = NSPreferencePane;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<key>IBDocumentLocation</key>
|
||||
<string>224 63 356 240 0 0 1280 832 </string>
|
||||
<key>IBFramework Version</key>
|
||||
<string>291.0</string>
|
||||
<string>362.0</string>
|
||||
<key>IBGroupedObjects</key>
|
||||
<dict>
|
||||
<key>4</key>
|
||||
|
@ -28,9 +28,8 @@
|
|||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>312</integer>
|
||||
<integer>5</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>6I32</string>
|
||||
<string>7D24</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичные данные
camino/PreferencePanes/WebFeatures/English.lproj/WebFeatures.nib/objects.nib
сгенерированный
Двоичные данные
camino/PreferencePanes/WebFeatures/English.lproj/WebFeatures.nib/objects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -1,6 +1,7 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
#import <PreferencePanes/NSPreferencePane.h>
|
||||
#import "PreferencePaneBase.h"
|
||||
#import "ExtendedTableView.h"
|
||||
|
||||
class nsIPref;
|
||||
class nsIPermissionManager;
|
||||
|
@ -16,7 +17,7 @@ class nsISupportsArray;
|
|||
IBOutlet NSButton *mEditWhitelist;
|
||||
|
||||
IBOutlet id mWhitelistPanel;
|
||||
IBOutlet NSTableView* mWhitelistTable;
|
||||
IBOutlet ExtendedTableView* mWhitelistTable;
|
||||
IBOutlet NSTextField* mAddField;
|
||||
nsIPermissionManager* mManager; // STRONG (should be nsCOMPtr)
|
||||
nsISupportsArray* mCachedPermissions; // parallel list of permissions for speed, STRONG (should be nsCOMPtr)
|
||||
|
|
|
@ -149,6 +149,9 @@
|
|||
// us from unselecting a row once one is set; go figure).
|
||||
[mWhitelistTable selectRow:0 byExtendingSelection:NO];
|
||||
|
||||
[mWhitelistTable setDeleteAction:@selector(removeWhitelistSite:)];
|
||||
[mWhitelistTable setTarget:self];
|
||||
|
||||
// we shouldn't need to do this, but the scrollbar won't enable unless we
|
||||
// force the table to reload its data. Oddly it gets the number of rows correct,
|
||||
// it just forgets to tell the scrollbar. *shrug*
|
||||
|
|
Загрузка…
Ссылка в новой задаче