Use a small toolbar, and stop putting the port in the title.
authorRobert Sesek <rsesek@bluestatic.org>
Wed, 11 Sep 2019 03:34:13 +0000 (23:34 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Wed, 11 Sep 2019 03:34:13 +0000 (23:34 -0400)
English.lproj/Debugger.xib
Source/DebuggerController.m

index 1cf1cec2e993f321159f464b740b3273dc7fa74e..51c5258d1c3eb4496a8898deb217a8cf2151cb4f 100644 (file)
                 <outlet property="segmentControl" destination="mRx-aY-U5x" id="plt-DD-Uli"/>
                 <outlet property="sourceViewer" destination="496" id="503"/>
                 <outlet property="stackArrayController" destination="36" id="563"/>
+                <outlet property="tabView" destination="XU1-a6-Ws7" id="Zhr-ym-q15"/>
                 <outlet property="variablesOutlineView" destination="12" id="567"/>
                 <outlet property="variablesTreeController" destination="59" id="566"/>
-                <outlet property="tabView" destination="XU1-a6-Ws7" id="Zhr-ym-q15"/>
                 <outlet property="window" destination="7" id="26"/>
             </connections>
         </customObject>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
         <customObject id="-3" userLabel="Application" customClass="NSObject"/>
-        <window title="GDBp &lt;host&gt;:&lt;port&gt; @ &lt;session&gt;" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" frameAutosaveName="DebuggerWindow" animationBehavior="default" id="7" userLabel="Debugger">
+        <window title="MacGDBp" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" frameAutosaveName="DebuggerWindow" animationBehavior="default" titleVisibility="hidden" id="7" userLabel="Debugger">
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="363" y="277" width="769" height="501"/>
index 5692da20085862f60ce6ecc8c0740f1a044408be..690737eb3df42fa9c2bdd9a9175fee0fd88db038 100644 (file)
  */
 - (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