Closed Bug 391130 Opened 18 years ago Closed 18 years ago

View->Apply Theme->Get New Themes doesn't work

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: neil, Assigned: bugzilla)

Details

Attachments

(1 file, 2 obsolete files)

function getNewThemes() { openTopWin(gBrandRegionBundle.getString("getNewThemesURL")); } We no longer keep the URL in that bundle. Instead the URL can be obtained by formatting the extensions.getNewThemesURL preference using the URL formatter in a similar way to the way goReleaseNotes method in utilityOverlay.xul does.
Whiteboard: [good first bug]
The pref is now called extensions.getMoreThemesURL.
Assignee: guifeatures → aqualon
Status: NEW → ASSIGNED
Attachment #275487 - Flags: review?(neil)
Attachment #275487 - Flags: review?(neil) → review+
Looking at MXR can't gBrandRegionBundle be removed as a result of this change? http://mxr.mozilla.org/seamonkey/search?string=gBrandRegionBundle That would also also allow the stringbundle bundle_brand_region to be removed from inclusion the XUL: http://mxr.mozilla.org/seamonkey/search?string=bundle_brand_region&find=%2Fsuite&findi=&filter=&tree=seamonkey
(In reply to comment #2) >Looking at MXR can't gBrandRegionBundle be removed as a result of this change? We should absolutely do this as part of this bug.
Attachment #275487 - Attachment is obsolete: true
Attachment #275594 - Flags: review?(neil)
Attached patch Patch v3Splinter Review
Only remove things, that should be removed... thx Neil for spotting that line.
Attachment #275594 - Attachment is obsolete: true
Attachment #275598 - Flags: review?(neil)
Attachment #275594 - Flags: review?(neil)
Attachment #275598 - Flags: review?(neil) → review+
Checked in, thanks for working on this!
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [good first bug]
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a8pre) Gecko/200708081818 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) I used to get {{ Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: XStringBundle :: getString :: line 17" data: no] }} which is gone and the URI is loaded, now. V.Fixed.
Status: RESOLVED → VERIFIED
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: