Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
Fixed a RegexKitLite linking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Hall committed Aug 28, 2010
1 parent 639a3a0 commit d1c4202
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Gmail-Info.plist
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.2</string> <string>0.3</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.2</string> <string>0.3</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string> <string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
Expand Down
3 changes: 2 additions & 1 deletion Gmail.xcodeproj/project.pbxproj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@
GCC_PREFIX_HEADER = Gmail_Prefix.pch; GCC_PREFIX_HEADER = Gmail_Prefix.pch;
INFOPLIST_FILE = "Gmail-Info.plist"; INFOPLIST_FILE = "Gmail-Info.plist";
INSTALL_PATH = "$(HOME)/Applications"; INSTALL_PATH = "$(HOME)/Applications";
OTHER_LDFLAGS = "-licucore";
PRODUCT_NAME = Gmail; PRODUCT_NAME = Gmail;
}; };
name = Debug; name = Debug;
Expand All @@ -327,7 +328,7 @@
GCC_PREFIX_HEADER = Gmail_Prefix.pch; GCC_PREFIX_HEADER = Gmail_Prefix.pch;
INFOPLIST_FILE = "Gmail-Info.plist"; INFOPLIST_FILE = "Gmail-Info.plist";
INSTALL_PATH = "$(HOME)/Applications"; INSTALL_PATH = "$(HOME)/Applications";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "-licucore";
PRODUCT_NAME = Gmail; PRODUCT_NAME = Gmail;
}; };
name = Release; name = Release;
Expand Down
1 change: 0 additions & 1 deletion GmailAppDelegate.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
} }


- (IBAction)showMainWindow:(id)sender; - (IBAction)showMainWindow:(id)sender;
- (void)overlayImageNamed:(NSString *)imageName;
- (void)incomingVideo:(NSNotification *)notification; - (void)incomingVideo:(NSNotification *)notification;
- (void)incomingCall:(NSNotification *)notification; - (void)incomingCall:(NSNotification *)notification;
- (void)incomingChat:(NSNotification *)notification; - (void)incomingChat:(NSNotification *)notification;
Expand Down
16 changes: 0 additions & 16 deletions GmailAppDelegate.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -88,22 +88,6 @@ - (void)unreadCountChanged:(NSNotification *)notification {


} }


- (void)overlayImageNamed:(NSString *)imageName {
float size = [[NSApp dockTile] size].width * .5;
float offset = [[NSApp dockTile] size].width - size;

NSImage *overlay = [NSImage imageNamed:@"phone"];
NSImage *icon = [NSApp applicationIconImage];
[icon lockFocus];
CGContextRef ctxt = [[NSGraphicsContext currentContext] graphicsPort];
CGImageSourceRef source;
source = CGImageSourceCreateWithData((CFDataRef)[overlay TIFFRepresentation], NULL);
CGImageRef maskRef = CGImageSourceCreateImageAtIndex(source, 0, NULL);
CGContextDrawImage(ctxt, NSMakeRect(offset, offset, size, size), maskRef);
[icon unlockFocus];
[NSApp setApplicationIconImage:icon];
}

- (void)applicationDidBecomeActive:(NSNotification *)notification { - (void)applicationDidBecomeActive:(NSNotification *)notification {
[NSApp setApplicationIconImage:[NSImage imageNamed:@"Icon"]]; [NSApp setApplicationIconImage:[NSImage imageNamed:@"Icon"]];
voiceBounce = YES; voiceBounce = YES;
Expand Down

0 comments on commit d1c4202

Please sign in to comment.