1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-16 12:19:03 +00:00

[#3] pe cocoa: Pushed power marker related code down to base.

--HG--
extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4064
This commit is contained in:
hsoft 2009-06-16 08:12:42 +00:00
parent 3deba94598
commit a3da162ea2
2 changed files with 0 additions and 24 deletions

View File

@ -8,13 +8,11 @@
IBOutlet NSPopUpButton *actionMenu; IBOutlet NSPopUpButton *actionMenu;
IBOutlet NSMenu *columnsMenu; IBOutlet NSMenu *columnsMenu;
IBOutlet NSSearchField *filterField; IBOutlet NSSearchField *filterField;
IBOutlet NSSegmentedControl *pmSwitch;
IBOutlet NSWindow *preferencesPanel; IBOutlet NSWindow *preferencesPanel;
NSMutableArray *_resultColumns; NSMutableArray *_resultColumns;
NSMutableIndexSet *_deltaColumns; NSMutableIndexSet *_deltaColumns;
} }
- (IBAction)changePowerMarker:(id)sender;
- (IBAction)clearIgnoreList:(id)sender; - (IBAction)clearIgnoreList:(id)sender;
- (IBAction)clearPictureCache:(id)sender; - (IBAction)clearPictureCache:(id)sender;
- (IBAction)exportToXHTML:(id)sender; - (IBAction)exportToXHTML:(id)sender;
@ -37,7 +35,6 @@
- (IBAction)toggleColumn:(id)sender; - (IBAction)toggleColumn:(id)sender;
- (IBAction)toggleDelta:(id)sender; - (IBAction)toggleDelta:(id)sender;
- (IBAction)toggleDetailsPanel:(id)sender; - (IBAction)toggleDetailsPanel:(id)sender;
- (IBAction)togglePowerMarker:(id)sender;
- (IBAction)toggleDirectories:(id)sender; - (IBAction)toggleDirectories:(id)sender;
- (NSTableColumn *)getColumnForIdentifier:(int)aIdentifier title:(NSString *)aTitle width:(int)aWidth refCol:(NSTableColumn *)aColumn; - (NSTableColumn *)getColumnForIdentifier:(int)aIdentifier title:(NSString *)aTitle width:(int)aWidth refCol:(NSTableColumn *)aColumn;

View File

@ -41,18 +41,6 @@
} }
/* Actions */ /* Actions */
- (IBAction)changePowerMarker:(id)sender
{
_powerMode = [pmSwitch selectedSegment] == 1;
if (_powerMode)
[matches setTag:2];
else
[matches setTag:0];
[self expandAll:nil];
[self outlineView:matches didClickTableColumn:nil];
}
- (IBAction)clearIgnoreList:(id)sender - (IBAction)clearIgnoreList:(id)sender
{ {
int i = n2i([py getIgnoreListCount]); int i = n2i([py getIgnoreListCount]);
@ -262,15 +250,6 @@
[(AppDelegate *)app toggleDetailsPanel:sender]; [(AppDelegate *)app toggleDetailsPanel:sender];
} }
- (IBAction)togglePowerMarker:(id)sender
{
if ([pmSwitch selectedSegment] == 1)
[pmSwitch setSelectedSegment:0];
else
[pmSwitch setSelectedSegment:1];
[self changePowerMarker:sender];
}
- (IBAction)toggleDirectories:(id)sender - (IBAction)toggleDirectories:(id)sender
{ {
[(AppDelegate *)app toggleDirectories:sender]; [(AppDelegate *)app toggleDirectories:sender];