Permalink
Browse files

Version bump. Disabled nagging.

  • Loading branch information...
1 parent a8ace68 commit 9b0e75f353ed9cb5cdfc9ebafe1c36412a02b91c @millenomi committed Apr 1, 2010
Showing with 11 additions and 3 deletions.
  1. +5 −0 .gitignore
  2. +2 −2 Afloat.xcconfig
  3. +1 −1 Afloat.xcodeproj/project.pbxproj
  4. +3 −0 Afloat_AfloatNagging.m
View
@@ -0,0 +1,5 @@
+*.mode2v3
+*.pbxuser
+*.perspectivev3
+/Compiled Locales
+/build
View
@@ -12,8 +12,8 @@ PREBINDING = NO
ARCHS = $(ARCHS_STANDARD_32_64_BIT)
-VERSION = 2.11
-USER_VISIBLE_VERSION = 2.1.1
+VERSION = 2.2
+USER_VISIBLE_VERSION = 2.2
OBJROOT = $(SRCROOT)/TemporaryItems
SYMROOT = $(SRCROOT)/Build
@@ -178,7 +178,7 @@
15DDB2B10D776C340008FF87 /* JRSwizzle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JRSwizzle.h; sourceTree = "<group>"; };
15F2FF6B0D6611BC00737D76 /* Afloat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Afloat.h; sourceTree = "<group>"; };
15F2FF6C0D6611BC00737D76 /* Afloat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Afloat.m; sourceTree = "<group>"; };
- 15FBC3810E9BF4CE0005A4C0 /* it.lproj */ = {isa = PBXFileReference; lastKnownFileType = folder; name = it.lproj; path = "__Compiled Locales/it.lproj"; sourceTree = "<group>"; };
+ 15FBC3810E9BF4CE0005A4C0 /* it.lproj */ = {isa = PBXFileReference; lastKnownFileType = folder; name = it.lproj; path = "Compiled Locales/it.lproj"; sourceTree = "<group>"; };
32DBCF630370AF2F00C91783 /* Afloat_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Afloat_Prefix.pch; sourceTree = "<group>"; };
8D5B49B6048680CD000E48DA /* Afloat.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Afloat.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -13,6 +13,8 @@
@implementation Afloat (AfloatNagging)
- (void) checkForNagOnInstall {
+#if kAfloatEnableNag
+#warning Nagging is enabled.
if (!AfloatNagGetPreferenceForKey(kAfloatInstallationDateKey, [NSDate class]))
AfloatNagSetPreferenceForKey(kAfloatInstallationDateKey, [NSDate date]);
@@ -21,6 +23,7 @@ - (void) checkForNagOnInstall {
NSString* donateApp = [[[b bundlePath] stringByAppendingPathComponent:@"Contents"] stringByAppendingPathComponent:@"Donate for Afloat.app"];
[[NSWorkspace sharedWorkspace] openFile:donateApp];
}
+#endif
}
@end

0 comments on commit 9b0e75f

Please sign in to comment.