Skip to content

Commit

Permalink
partial restoration of whitelist support; now I just need to figure o…
Browse files Browse the repository at this point in the history
…ut how to get this table view to auto-update itself...

Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information
Simone Manganelli authored and rentzsch committed Jul 1, 2009
1 parent 93544a5 commit 2a7423a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Plugin/CTFWhitelist.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ of this software and associated documentation files (the "Software"), to deal
static NSString *sCTFWhitelistAdditionMade = @"CTFWhitelistAdditionMade";

// CTFUserDefaultsController keys
static NSString *sHostSiteInfoDefaultsKey = @"ClickToFlash_siteInfo";
static NSString *sHostSiteInfoDefaultsKey = @"siteInfo";

typedef enum {
CTFSiteKindWhitelist = 0
Expand Down
20 changes: 4 additions & 16 deletions Plugin/English.lproj/WhitelistPanel.xib
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="42"/>
<integer value="9"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -824,9 +824,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<bool key="NSFilterRestrictsInsertion">YES</bool>
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
</object>
<object class="NSUserDefaultsController" id="913882380">
<bool key="NSSharedInstance">YES</bool>
</object>
<object class="NSUserDefaultsController" id="961452516">
<object class="NSMutableArray" key="NSDeclaredKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -1822,11 +1819,6 @@ dG8gdW5pbnN0YWxsIENsaWNrVG9GbGFzaC4</string>
<reference key="object" ref="358695226"/>
<reference key="parent" ref="710573940"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">7</int>
<reference key="object" ref="913882380"/>
<reference key="parent" ref="1002"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">170</int>
<reference key="object" ref="961452516"/>
Expand Down Expand Up @@ -2258,18 +2250,16 @@ dG8gdW5pbnN0YWxsIENsaWNrVG9GbGFzaC4</string>
<string>4.IBPluginDependency</string>
<string>41.IBPluginDependency</string>
<string>42.IBPluginDependency</string>
<string>7.CustomClassName</string>
<string>7.IBPluginDependency</string>
<string>9.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilderKit</string>
<string>com.apple.InterfaceBuilderKit</string>
<string>{{186, 118}, {527, 516}}</string>
<string>{{323, 126}, {527, 516}}</string>
<reference ref="5"/>
<string>{{186, 118}, {527, 516}}</string>
<string>{{323, 126}, {527, 516}}</string>
<integer value="1" id="9"/>
<string>{196, 240}</string>
<string>{{202, 428}, {480, 270}}</string>
Expand Down Expand Up @@ -2448,8 +2438,6 @@ dG8gdW5pbnN0YWxsIENsaWNrVG9GbGFzaC4</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>CTFUserDefaultsController</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
Expand All @@ -2473,7 +2461,7 @@ dG8gdW5pbnN0YWxsIENsaWNrVG9GbGFzaC4</string>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">251</int>
<int key="maxID">252</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down
1 change: 0 additions & 1 deletion Plugin/Plugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ - (id) initWithArguments:(NSDictionary *)arguments
@"com.Zattoo.prefs",
nil];

[[NSUserDefaults standardUserDefaults] addSuiteNamed:@"com.github.rentzsch.clicktoflash"];
SparkleManager *sharedSparkleManager = [SparkleManager sharedManager];
NSWorkspace *sharedWorkspace = [NSWorkspace sharedWorkspace];
NSString *pathToRelaunch = [sharedWorkspace absolutePathForAppBundleWithIdentifier:[self launchedAppBundleIdentifier]];
Expand Down

0 comments on commit 2a7423a

Please sign in to comment.