added opening conversation view in new window to OS X

This commit is contained in:
Jeena Paradies 2013-04-16 23:20:08 +02:00
parent 11e6da5592
commit 142b4d4dd3
13 changed files with 481 additions and 37 deletions

View file

@ -10,6 +10,7 @@
#import "NewMessageWindow.h"
#import "PostModel.h"
#import "NSData+Base64.h"
#import "NewConversationWindowController.h"
@implementation Controller
@synthesize showProfileTextField;
@ -387,6 +388,12 @@
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onConversation();"];
}
- (IBAction)showConversationViewForPostId:(NSString *)postId andEntity:(NSString *)entity
{
NewConversationWindowController *conversationView = [[NewConversationWindowController alloc] initWithPostId:postId entity:entity andViewDelegate:viewDelegate];
[conversationView showWindow:conversationView.window];
}
- (IBAction)showProfile:(id)sender
{
if ([sender isKindOfClass:[NSMenuItem class]]) {