Auto merge of #174 - lovebug356:patch-1, r=jdm
example: add space between quit and process name Add a space between "Quit" and the process name in the menu <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/174) <!-- Reviewable:end -->
This commit is contained in:
@@ -22,7 +22,7 @@ fn main() {
|
||||
|
||||
// create Application menu
|
||||
let app_menu = NSMenu::new(nil).autorelease();
|
||||
let quit_prefix = NSString::alloc(nil).init_str("Quit");
|
||||
let quit_prefix = NSString::alloc(nil).init_str("Quit ");
|
||||
let quit_title =
|
||||
quit_prefix.stringByAppendingString_(NSProcessInfo::processInfo(nil).processName());
|
||||
let quit_action = selector("terminate:");
|
||||
|
||||
Reference in New Issue
Block a user