Closed
Bug 465771
Opened 16 years ago
Closed 16 years ago
Port bug 391728 (disabled plugin placeholder) UI to SeaMonkey
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.0
People
(Reporter: kairo, Assigned: neil)
References
Details
(Keywords: fixed-seamonkey2.0)
Attachments
(1 file)
|
3.33 KB,
patch
|
kairo
:
review+
kairo
:
approval-seamonkey2.0+
|
Details | Diff | Splinter Review |
bug 391728 added some Firefox-specific UI stuff that SeaMonkey probably needs to port.
Comment 1•16 years ago
|
||
Also Bug 462965 - Land disabled plugin and blocked plugin icons
Depends on: 458512
| Reporter | ||
Comment 2•16 years ago
|
||
Bug 484188 adds tests for plugins, one part I marked todo() there is probably connected with this.
| Reporter | ||
Updated•16 years ago
|
Flags: wanted-seamonkey2.0?
| Assignee | ||
Comment 4•16 years ago
|
||
Only picking KaiRo because of test changes. Feel free to redirect if necessary.
| Reporter | ||
Comment 5•16 years ago
|
||
Comment on attachment 404022 [details] [diff] [review]
Proposed patch
Thanks for taking this on, works fine!
Attachment #404022 -
Flags: review?(kairo) → review+
| Reporter | ||
Comment 6•16 years ago
|
||
Comment on attachment 404022 [details] [diff] [review]
Proposed patch
>+ var theEM = Components.classes["@mozilla.org/appshell/window-mediator;1"]
>+ .getService(Components.interfaces.nsIWindowMediator)
>+ .getMostRecentWindow("Extension:Manager");
>+
>+ if (theEM) {
>+ theEM.focus();
>+ theEM.showView("plugins");
>+ return;
>+ }
>+
>+ const EMURL = "chrome://mozapps/content/extensions/extensions.xul";
>+ const EMFEATURES = "all,dialog=no";
>+ window.openDialog(EMURL, "", EMFEATURES, "plugins");
As a note, you probably could have gone through toEM("plugins") here as well, but I'll leave it up to you which way you like better.
| Reporter | ||
Updated•16 years ago
|
Attachment #404022 -
Flags: approval-seamonkey2.0+
| Reporter | ||
Updated•16 years ago
|
Flags: wanted-seamonkey2.0?
| Assignee | ||
Comment 7•16 years ago
|
||
(toEM isn't guaranteed to be available from notification.xml)
| Assignee | ||
Comment 8•16 years ago
|
||
Pushed changeset 12859ee80820 to comm-central.
Keywords: student-project → fixed-seamonkey2.0
Whiteboard: [good first bug]
| Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20091002 SeaMonkey/2.0pre
It's work fine, now.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•