changed cmd-f to cmd-5 and version

This commit is contained in:
Jeena Paradies 2013-03-27 11:40:34 +01:00
parent 030fa044e9
commit e1f04e8d6a
5 changed files with 265 additions and 549 deletions

View file

@ -42,7 +42,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.0.0</string> <string>1.3.0</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
@ -57,7 +57,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.0.0</string> <string>1.3.0</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.social-networking</string> <string>public.app-category.social-networking</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>

View file

@ -60,7 +60,15 @@
- (void)notificateUserAboutMention:(NSString *)text fromName:(NSString *)name withPostId:(NSString *)postId andEntity:(NSString *)entity; - (void)notificateUserAboutMention:(NSString *)text fromName:(NSString *)name withPostId:(NSString *)postId andEntity:(NSString *)entity;
- (void)openURL:(NSString *)url; - (void)openURL:(NSString *)url;
- (IBAction)showTimeline:(id)sender;
- (IBAction)showMentions:(id)sender;
- (IBAction)showConversation:(id)sender;
- (IBAction)showProfile:(id)sender; - (IBAction)showProfile:(id)sender;
- (IBAction)showSearch:(id)sender;
- (IBAction)showAbout:(id)sender;
- (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity; - (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity;
- (void)setString:(NSString *)string forKey:(NSString *)aKey; - (void)setString:(NSString *)string forKey:(NSString *)aKey;

View file

@ -372,13 +372,42 @@
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:url]]; [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:url]];
} }
- (IBAction)showTimeline:(id)sender
{
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onTimeline();"];
}
- (IBAction)showMentions:(id)sender
{
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onMentions();"];
}
- (IBAction)showConversation:(id)sender
{
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onConversation();"];
}
- (IBAction)showProfile:(id)sender - (IBAction)showProfile:(id)sender
{ {
NSString *entity = [self.showProfileTextField stringValue]; if ([sender isKindOfClass:[NSMenuItem class]]) {
if ([entity rangeOfString:@"."].location != NSNotFound && ([entity hasPrefix:@"http://"] || [entity hasPrefix:@"https://"])) { [timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onEntityProfile();"];
NSString *func = [NSString stringWithFormat:@"bungloo.sidebar.onEntityProfile(); bungloo.entityProfile.showProfileForEntity('%@')", entity]; } else {
[timelineView stringByEvaluatingJavaScriptFromString:func]; NSString *entity = [self.showProfileTextField stringValue];
} if ([entity rangeOfString:@"."].location != NSNotFound && ([entity hasPrefix:@"http://"] || [entity hasPrefix:@"https://"])) {
NSString *func = [NSString stringWithFormat:@"bungloo.sidebar.onEntityProfile(); bungloo.entityProfile.showProfileForEntity('%@')", entity];
[timelineView stringByEvaluatingJavaScriptFromString:func];
}
}
}
- (IBAction)showSearch:(id)sender
{
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onSearch();"];
}
- (IBAction)showAbout:(id)sender
{
[self openURL:@"http://jabs.nu/bungloo"];
} }
- (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity - (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity

File diff suppressed because it is too large Load diff

View file

@ -13,6 +13,12 @@
</head> </head>
<body> <body>
<h2>Bungloo 1.3.0</h2>
<p>Changed to one window</p>
<p>Added search (skate.io)</p>
<p>Bugfixes</p>
<h1>Bungloo 1.2.2</h1> <h1>Bungloo 1.2.2</h1>
<p>Fixed crash on Snow Leopard while opening new post window</p> <p>Fixed crash on Snow Leopard while opening new post window</p>