From 7fb4f8132ab2fd7efa1517ef88548b2ada024ac4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 10 Sep 2019 23:34:13 -0400 Subject: [PATCH] Use a small toolbar, and stop putting the port in the title. --- English.lproj/Debugger.xib | 4 ++-- Source/DebuggerController.m | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/English.lproj/Debugger.xib b/English.lproj/Debugger.xib index 1cf1cec..51c5258 100644 --- a/English.lproj/Debugger.xib +++ b/English.lproj/Debugger.xib @@ -13,15 +13,15 @@ + - - + diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index 5692da2..690737e 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -110,8 +110,10 @@ */ - (void)awakeFromNib { + // Exclude from the Windows menu because there is an explicit entry. [[self window] setExcludedFromWindowsMenu:YES]; - [[self window] setTitle:[NSString stringWithFormat:@"MacGDBp @ %d", [_connection port]]]; + + // Connect to XIB properties. [_sourceViewer setDelegate:self]; [_stackArrayController setSortDescriptors:@[ [[[NSSortDescriptor alloc] initWithKey:@"index" ascending:YES] autorelease] ]]; [_stackArrayController addObserver:self -- 2.43.5