Closed Bug 1362160 Opened 4 years ago Closed 4 years ago
disable file name field of sound file picker in TB preferences when it is not used
The file name field of sound file picker in TB preferences can be disabled if the sound chosen in is is not meant to be played by the user. The other form elements on the settings page determine if the sound file will ever be used. We already disable the "Browse" button, but miss the filename field. There are 4 of such fields in the Preferences dialog and 2 of them already disable the field properly (calendar and attachment page). I'll fix the remaining two.
Make the code disable the file name field first and then the accompanying "browse" button gets disabled automatically via the already existing <observes> element.
Attachment #8864624 - Flags: review?(richard.marti)
Comment on attachment 8864624 [details] [diff] [review] 1362160.patch Thanks, works perfectly.
Attachment #8864624 - Flags: review?(richard.marti) → review+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.