diff --git a/Controller.m b/Controller.m index 46a0df7..520cc9f 100644 --- a/Controller.m +++ b/Controller.m @@ -12,7 +12,7 @@ @implementation Controller -@synthesize timelineView, timelineViewWindow, mentionsView, mentionsViewWindow, globalHotkeyMenuItem, viewDelegate, oauth; +@synthesize timelineView, timelineViewWindow, mentionsView, mentionsViewWindow, globalHotkeyMenuItem, viewDelegate, oauth, logoLayer; - (void)awakeFromNib { @@ -168,7 +168,7 @@ - (IBAction)sendTweet:(id)sender { [oauth updateTweet:[[sender object] objectAtIndex:0] - inReplaToStatus:[[sender object] objectAtIndex:1]]; + inReplaToStatus:[NSString stringWithFormat:@"%d", [[sender object] objectAtIndex:1]]]; /* NSString *encodedString = [[[sender object] objectAtIndex:0] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; [timelineView stringByEvaluatingJavaScriptFromString: diff --git a/OAuth.m b/OAuth.m index b8c0f6c..9e59c89 100644 --- a/OAuth.m +++ b/OAuth.m @@ -138,8 +138,8 @@ //[self requestAccessTokenWithPIN:self]; //[twitterPINPanel makeKeyAndOrderFront:self]; - //NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@?oauth_token=%@", OAUTH_USER_AUTHORIZATION_URL, requestToken.key]]; - //s[[NSWorkspace sharedWorkspace] openURL:url]; + NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@?oauth_token=%@", OAUTH_USER_AUTHORIZATION_URL, requestToken.key]]; + [[NSWorkspace sharedWorkspace] openURL:url]; } - (void)updateTweet:(NSString *)tweet inReplaToStatus:(NSString *)statusId { diff --git a/ReleaseNotes.html b/ReleaseNotes.html index 8ede14d..e231431 100644 --- a/ReleaseNotes.html +++ b/ReleaseNotes.html @@ -12,6 +12,12 @@ +

Twittia 2.2.0

+

Added icon

+

Now with OAuth

+ +
+

Twittia 2.1.1

Added possibility to change the hotkey in defaults.

Added a notice to the timeline window how many unread mentions there are.