Closed Bug 323731 Opened 19 years ago Closed 19 years ago

Remove Publishing page from Sunbird options dialog

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: ssitter)

Details

Attachments

(1 file, 1 obsolete file)

Follow up of Bug 323180.

As we now store the used publishing url separate for each calendar, there is no need for the 'default remote filename' preference. This should be removed from the publishing code. (By the way this preference did not work at all).

As this preference is the only content of the Publishing page in the Sunbird options dialog we should also remove that page.
Attached patch patch (obsolete) — — Splinter Review
- Removing Publish page from the several options dialogs
- Removing corresponding xul file from jar
- Removing corresponding style rules
- Fix Id's for the Alarm page

Refering to Bug 323180 Comment #4 From Joey Minta about gPublishObject = new Object(); in loadCalendarPublishDialog():
This is still needed because publishCalendarData() in publish.js calls the dialog without passing a publishObject in. gPublishObject is later used in onOKCommand() to pass the remote file url to the caller.
Attachment #208892 - Flags: first-review?(jminta)
Comment on attachment 208892 [details] [diff] [review]
patch

Looks good.  Can you kill the l10n entities too, so that the localizers don't do work that isn't necessary?
http://landfill.mozilla.org/mxr-test/mozilla/source/calendar/resources/locale/en-US/prefs.dtd#147

r=jminta with that
Attachment #208892 - Flags: first-review?(jminta) → first-review+
Attached patch patch, v2 — — Splinter Review
Updated patch according to comment #2.
Attachment #208892 - Attachment is obsolete: true
Attachment #208903 - Flags: first-review?(jminta)
Attachment #208903 - Flags: first-review?(jminta) → first-review+
patch checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: