From 981e537817522592ff5ee9b5a7790515ae86b1e9 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Sun, 15 Jan 2006 02:04:18 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20304290:=20Treeview=20of=20'Choose=20Folde?= =?UTF-8?q?r'=20Option=20in=20Create=20Profile/Profile=20Manager=20should?= =?UTF-8?q?=20not=20point=20at=20'my=20documents'=20by=20default=20(make?= =?UTF-8?q?=20it=20point=20to=20the=20default=20profile=20root=20instead),?= =?UTF-8?q?=20patch=20by=20Simon=20B=EF=BF=BDnzli=20,=20?= =?UTF-8?q?r=3Dmconnor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- toolkit/profile/content/createProfileWizard.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolkit/profile/content/createProfileWizard.js b/toolkit/profile/content/createProfileWizard.js index f7bea049ee1..b18f88ed7d6 100644 --- a/toolkit/profile/content/createProfileWizard.js +++ b/toolkit/profile/content/createProfileWizard.js @@ -127,6 +127,10 @@ function chooseProfileFolder() dirChooser.init(window, gProfileManagerBundle.getString("chooseFolder"), I.nsIFilePicker.modeGetFolder); dirChooser.appendFilters(I.nsIFilePicker.filterAll); + + // default to the Profiles folder + dirChooser.displayDirectory = gDefaultProfileParent; + dirChooser.show(); newProfileRoot = dirChooser.file;