From 5fc588ce75964a1c086689aef9eae44273a5a23a Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Mon, 25 Feb 2002 14:54:37 +0000 Subject: [PATCH] Changed name of user defaults used to determine whether to show or not dot files git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12756 72102866-910b-0410-8b05-ffd578937521 --- Source/NSSavePanel.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/NSSavePanel.m b/Source/NSSavePanel.m index 60ee65277..677a81e8b 100644 --- a/Source/NSSavePanel.m +++ b/Source/NSSavePanel.m @@ -1053,9 +1053,12 @@ createRowsForColumn: (int)column /* We need to remove files starting with `.' (dot), but only if the user asked for it in the defaults. Perhaps we could add a - button turning on/off display of hidden files ? */ + button turning on/off display of hidden files ? */ + + /* NB: GWorkspace is using this same user default to determine + whether to hide or not dot files. */ gsSavePanelHideDotFiles = [[NSUserDefaults standardUserDefaults] - boolForKey: @"GSSavePanelHideDotFiles"]; + boolForKey: @"GSFileBrowserHideDotFiles"]; /* Now copy the files array into a mutable array - but only if strictly needed. */