Closed Bug 470112 Opened 16 years ago Closed 16 years ago

Preference mail.toolbars.showbutton.junk doesn't work in Thunderbird - remove old prefs from about:config

Categories

(Thunderbird :: Preferences, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b2

People

(Reporter: trever, Assigned: standard8)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
Build Identifier: version 2.0.0.18 (20081119)

Setting mail.toolbars.showbutton.junk to false doesn't hide the button. This should hide the button and toolbar preferences should be stored in prefs.js. They do not seem to be.

Reproducible: Always

Steps to Reproduce:
1. Set user_pref("mail.toolbars.showbutton.junk", false); either in prefs.js or through the config dialog
2. Junk is still showing


Expected Results:  
Junk Button should be hidden.
To remove the junk button from the toolbar, you should right click on the toolbar and select customise, you can then drag the button off of the toolbar onto the customise window.

I'd resolve this invalid, but we should really just remove those preferences from being displayed in about:config as they only apply to SeaMonkey, not Thunderbird.
Summary: user_pref("mail.toolbars.showbutton.junk", false); doesn't work → Preference mail.toolbars.showbutton.junk doesn't work in Thunderbird - remove old prefs from about:config
Attached patch The fixSplinter Review
TB doesn't need these prefs.
Assignee: nobody → bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #353667 - Flags: superreview?(bienvenu)
Attachment #353667 - Flags: review?(bienvenu)
Attachment #353667 - Flags: superreview?(bienvenu)
Attachment #353667 - Flags: superreview+
Attachment #353667 - Flags: review?(bienvenu)
Attachment #353667 - Flags: review+
Checked in: http://hg.mozilla.org/comm-central/rev/76d42f0ec79f
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b2
This isn't fixed. There should be a way to progmatically remove it. Think business installations, etc.

Going to every machine and customizing the toolbar is NOT the solution.
(In reply to comment #4)
> This isn't fixed. There should be a way to progmatically remove it. Think
> business installations, etc.
> 
> Going to every machine and customizing the toolbar is NOT the solution.

One option would be to write an extension to overlay the toolbar and force the button to be hidden by setting an appropriate xul attribute. This could be a minimal extension that you can install by default.
I was going to remove those lines completely when I turn on toolbar customization in SeaMonkey MailNews (RSN) so I don't see the point of this #ifdef.
(In reply to comment #6)
> I was going to remove those lines completely when I turn on toolbar
> customization in SeaMonkey MailNews (RSN) so I don't see the point of this
> #ifdef.

That did cross my mind, however I didn't know exactly when that would happen and these prefs haven't been applicable to TB for a long time.
Blocks: 413385
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: