Closed Bug 17720 Opened 25 years ago Closed 25 years ago

[UI] highlight current profile in the "Select Profile dialog

Categories

(SeaMonkey :: Startup & Profiles, defect, P3)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: bugs)

References

Details

just like we do in the account manager.
Target Milestone: M12
Moving to M12, move it back if you've got it done already.

There is code in the profile manager JS file you can steal for this.
Status: NEW → ASSIGNED
Assignee: sspitzer → selmer
Status: ASSIGNED → NEW
This really seems like a profile mgr issue. Reassigning to selmer.
Target Milestone: M12 → M13
moving to M13
Assignee: selmer → racham
just need to pass the current profile value to JS so that the right
list box item gets highlighted. assigning bug to myself.
*** Bug 20848 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Target Milestone: M13 → M14
Assignee: racham → gayatrib
Status: ASSIGNED → NEW
Assigning UI bugs to gayatri.
*** Bug 23228 has been marked as a duplicate of this bug. ***
Component: Profile Manager → Profile Manager BackEnd
Moving all Profile Manager bugs to new Profile Manager Backend component.
Profile Manager component to be deleted.
Component: Profile Manager BackEnd → Profile Manager FrontEnd
Moving to Profile Manager FrontEnd component.  (not changing owners yet)
Changing owner, Gayatri is not the correct owner for these.
Assignee: gayatrib → ben
steve, I need a way to grab the last opened profile. This requires a back end 
link to the profile registry. I cannot store this value in prefs. Is there 
something in the back end I can use for this?
Ben, the old XUL used to do this.  There is an entry point in the profile 
manager to get this info.  You could probably also get it from the mozregistry 
datasource, but I wouldn't recommend that approach.  Bhuvan can tell you the 
exact routine to call.
the call you want is really not a call.

you want the currentProfile (a read only attribute of nsIProfile)

from js, it would be something like this:

foo = profile.currentProfile;

it looks like someone is attempting to use this in profileSelection.js

look at nsIProfile.idl for the other methods/attributes to the backend.
fix checked in...
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
build 2000012812
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.