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

View file

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

View file

@ -372,13 +372,42 @@
[[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
{
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];
}
if ([sender isKindOfClass:[NSMenuItem class]]) {
[timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.onEntityProfile();"];
} else {
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

File diff suppressed because it is too large Load diff

View file

@ -13,6 +13,12 @@
</head>
<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>
<p>Fixed crash on Snow Leopard while opening new post window</p>