diff --git a/Mac/English.lproj/NewMessageWindow.xib b/Mac/English.lproj/NewMessageWindow.xib index 273c84f..ca3ff00 100644 --- a/Mac/English.lproj/NewMessageWindow.xib +++ b/Mac/English.lproj/NewMessageWindow.xib @@ -3,12 +3,12 @@ 1080 12C60 - 2843 + 2844 1187.34 625.00 com.apple.InterfaceBuilder.CocoaPlugin - 2843 + 2844 YES @@ -59,7 +59,7 @@ YES -1809842175 - 272629760 + 268435456 LucidaGrande diff --git a/Mac/NewMessageWindow.m b/Mac/NewMessageWindow.m index dbdd0f7..7a7045a 100644 --- a/Mac/NewMessageWindow.m +++ b/Mac/NewMessageWindow.m @@ -138,6 +138,9 @@ - (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doCommandBySelector:(SEL)commandSelector { + NSLog(@"%@", NSStringFromSelector(commandSelector) ); + + BOOL retval = NO; if (commandSelector == @selector(insertNewline:)) { @@ -161,8 +164,22 @@ [self sendTweet:control]; } - NSLog(@"%@", NSStringFromSelector(commandSelector) ); - - return retval; + return retval; } + + +/* Perform a Quick Look on the content at location in the event. If there are no Quick Look items at the location, call super. + Also, see quickLookPreviewItems: further below. + */ +- (void)quickLookWithEvent:(NSEvent *)event { + NSLog(@"%@", event); +} +/* Perform a Quick Look on the text cursor position, selection, or whatever is appropriate for your view. If there are no Quick Look + items, then call [[self nextResponder] tryToPerform:_cmd with:sender]; to pass the request up the responder chain. Eventually + AppKit will attempt to perform a dictionary look up. Also see quickLookWithEvent: above. + */ +- (void)quickLookPreviewItems:(id)sender { + NSLog(@"%@", sender); +} + @end diff --git a/WebKit/scripts/controller/Timeline.js b/WebKit/scripts/controller/Timeline.js index 41b8e38..28172e1 100644 --- a/WebKit/scripts/controller/Timeline.js +++ b/WebKit/scripts/controller/Timeline.js @@ -13,7 +13,7 @@ function(Core, Paths, HostApp, URI) { this.action = "timeline"; - this.max_length = 20; + this.max_length = 200; this.timeout = 10 * 1000; // every 10 seconds this.since_id = null; this.since_id_entity = null; diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index 5435ec1..b94b5f0 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -232,8 +232,6 @@ function(jQuery, Paths, URI, HostApp, Followings) { data["mentions"] = mentions; } - debug(data); - //return Paths.getURL(url.toString(), http_method, callback, JSON.stringify(data)); // FIXME: error callback }