From 4b62a47960aa4b4fa92e5a3fba008aa74f6ea01d Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Tue, 9 Apr 2013 23:03:13 +0200 Subject: [PATCH] added next to os x --- Mac/Controller.h | 1 + Mac/Controller.m | 5 +++ Mac/English.lproj/MainMenu.xib | 77 ++++++++++++++++------------------ 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/Mac/Controller.h b/Mac/Controller.h index dab9b67..7197357 100644 --- a/Mac/Controller.h +++ b/Mac/Controller.h @@ -67,6 +67,7 @@ - (IBAction)showProfile:(id)sender; - (IBAction)showSearch:(id)sender; - (IBAction)showAbout:(id)sender; +- (IBAction)showNext:(id)sender; - (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity; diff --git a/Mac/Controller.m b/Mac/Controller.m index 4a4c820..e49ccd5 100644 --- a/Mac/Controller.m +++ b/Mac/Controller.m @@ -410,6 +410,11 @@ [self openURL:@"http://jabs.nu/bungloo"]; } +- (IBAction)showNext:(id)sender +{ + [timelineView stringByEvaluatingJavaScriptFromString:@"bungloo.sidebar.setContentForNext();"]; +} + - (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity { NSString *f = [NSString stringWithFormat:@".postDeleted('%@', '%@');", postId, entity]; diff --git a/Mac/English.lproj/MainMenu.xib b/Mac/English.lproj/MainMenu.xib index 77f11a0..e26f511 100644 --- a/Mac/English.lproj/MainMenu.xib +++ b/Mac/English.lproj/MainMenu.xib @@ -731,6 +731,25 @@ + + + YES + YES + + + 2147483647 + + + + + + Next View + 6 + 1048576 + 2147483647 + + + @@ -928,7 +947,6 @@ {{20, 20}, {146, 146}} - YES @@ -951,7 +969,6 @@ 268 {{194, 82}, {266, 22}} - _NS:9 YES @@ -998,7 +1015,6 @@ 268 {{191, 112}, {163, 17}} - _NS:1535 YES @@ -1032,8 +1048,6 @@ 268 {{391, 46}, {75, 32}} - - _NS:9 YES @@ -1057,7 +1071,6 @@ 268 {{373, 55}, {16, 16}} - _NS:945 28938 @@ -1066,7 +1079,6 @@ {480, 186} - _NS:20 @@ -1097,7 +1109,6 @@ 268 {{17, 79}, {192, 17}} - _NS:1535 YES @@ -1118,7 +1129,6 @@ 268 {{20, 49}, {333, 22}} - _NS:9 YES @@ -1141,8 +1151,6 @@ 268 {{285, 13}, {74, 32}} - - _NS:9 YES @@ -1164,7 +1172,6 @@ {373, 116} - _NS:21 @@ -2042,6 +2049,8 @@ + + @@ -2497,6 +2506,16 @@ + + 697 + + + + + 698 + + + @@ -2615,6 +2634,8 @@ 687.IBPluginDependency 688.IBPluginDependency 695.IBPluginDependency + 697.IBPluginDependency + 698.IBPluginDependency 72.IBPluginDependency 73.IBPluginDependency 79.IBPluginDependency @@ -2742,6 +2763,8 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin @@ -2756,7 +2779,7 @@ - 696 + 698 @@ -2771,14 +2794,10 @@ clearCache: login: logout: - openNewMessageWindow: - sendPost: showAbout: showConversation: - showConversationForPostId:andEntity: showMentions: showProfile: - showProfileForEntity: showSearch: showTimeline: @@ -2791,10 +2810,6 @@ id id id - NSString - id - id - NSString id id @@ -2806,14 +2821,10 @@ clearCache: login: logout: - openNewMessageWindow: - sendPost: showAbout: showConversation: - showConversationForPostId:andEntity: showMentions: showProfile: - showProfileForEntity: showSearch: showTimeline: @@ -2831,14 +2842,6 @@ logout: id - - openNewMessageWindow: - id - - - sendPost: - id - showAbout: id @@ -2847,10 +2850,6 @@ showConversation: id - - showConversationForPostId:andEntity: - NSString - showMentions: id @@ -2859,10 +2858,6 @@ showProfile: id - - showProfileForEntity: - NSString - showSearch: id