From 8d6448b3f11ceb7a439d5e5cc8853e5d2802f212 Mon Sep 17 00:00:00 2001 From: "pinkerton%aol.net" Date: Sat, 12 Aug 2006 01:54:48 +0000 Subject: [PATCH] prefs toolbar state not remembered on restart (bug 346492) --- camino/src/preferences/MVPreferencesController.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/camino/src/preferences/MVPreferencesController.mm b/camino/src/preferences/MVPreferencesController.mm index cbd19555701..3cf96115d09 100644 --- a/camino/src/preferences/MVPreferencesController.mm +++ b/camino/src/preferences/MVPreferencesController.mm @@ -165,12 +165,11 @@ static NSString* const CacheInfoPaneSeenKey = @"MVPreferencePaneSeen"; // N NSToolbar *toolbar = [[[NSToolbar alloc] initWithIdentifier:@"preferences.toolbar.1"] autorelease]; [toolbar setAllowsUserCustomization:NO]; - [toolbar setAutosavesConfiguration:NO]; + [toolbar setAutosavesConfiguration:YES]; [toolbar setDelegate:self]; [toolbar setAlwaysCustomizableByDrag:NO]; [toolbar setShowsContextMenu:NO]; [mWindow setToolbar:toolbar]; - [toolbar setDisplayMode:NSToolbarDisplayModeIconAndLabel]; // save/restore the top-left window frame (because our size changes confuse the standard frame saving) // (Cocoa will ensure that the window isn't placed totally offscreen)