From 0228c7c4520cb68fa2c0ae6562e3c46ec2dda853 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 13 Oct 2008 11:05:16 -0400 Subject: [PATCH] Have the debugger and breakpoints windows remember their size and location * English.lproj/Breakpoints.xib: Set autosave name * English.lproj/Debugger.xib: ditto * Source/DebuggerController.m: (awakeFromNib): Do not call [window center] anymore --- CHANGES | 1 + English.lproj/Breakpoints.xib | 11 ++++++----- English.lproj/Debugger.xib | 17 +++++++++++++---- Source/DebuggerController.m | 1 - 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index a102fef..c64ae2b 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ MacGDBp CHANGE LOG ##################### - Fix: #140 Saved breakpoints for non-existent files would cause an immediate crash on launch +- New: #139 Windows now remember their size and location 1.1.1 diff --git a/English.lproj/Breakpoints.xib b/English.lproj/Breakpoints.xib index a29507a..db023d5 100644 --- a/English.lproj/Breakpoints.xib +++ b/English.lproj/Breakpoints.xib @@ -2,9 +2,9 @@ 1050 - 9E17 - 670 - 949.33 + 9F33 + 672 + 949.34 352.00 YES @@ -316,6 +316,7 @@ {{0, 0}, {1680, 1028}} {3.40282e+38, 3.40282e+38} + BreakpointsWindow @@ -657,9 +658,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilderKit com.apple.InterfaceBuilderKit - {{398, 290}, {574, 484}} + {{350, 212}, {574, 484}} com.apple.InterfaceBuilder.CocoaPlugin - {{398, 290}, {574, 484}} + {{350, 212}, {574, 484}} {196, 240} {{202, 428}, {480, 270}} diff --git a/English.lproj/Debugger.xib b/English.lproj/Debugger.xib index a66de89..2a98629 100644 --- a/English.lproj/Debugger.xib +++ b/English.lproj/Debugger.xib @@ -2,9 +2,9 @@ 1050 - 9E17 - 670 - 949.33 + 9F33 + 672 + 949.34 352.00 YES @@ -889,6 +889,7 @@ ELIAAAAAAAgACAAIAAgAAQABAAEAAQ {{0, 0}, {1440, 878}} {213, 169} {3.40282e+38, 3.40282e+38} + DebuggerWindow @@ -1738,7 +1739,7 @@ ELIAAAAAAAgACAAIAAgAAQABAAEAAQ {{344, 269}, {769, 501}} - + {3.40282e+38, 3.40282e+38} {213, 107} @@ -1854,6 +1855,14 @@ ELIAAAAAAAgACAAIAAgAAQABAAEAAQ NSToolbarItem + + IBProjectSource + Source/DebuggerController.h + + + + DebuggerController + NSWindowController IBUserSource diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index 99f6f57..417291c 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -64,7 +64,6 @@ { [self setStatus:@"Connecting"]; [[self window] setExcludedFromWindowsMenu:YES]; - [[self window] center]; [sourceViewer setDelegate:self]; } -- 2.43.5