Merge lp:~micahg/firefox/firefox-3.6-20091008 into lp:firefox/3.6

Proposed by Micah Gersten
Status: Merged
Merged at revision: not available
Proposed branch: lp:~micahg/firefox/firefox-3.6-20091008
Merge into: lp:firefox/3.6
Diff against target: 104 lines
2 files modified
debian/changelog (+2/-2)
debian/patches/bz460917_att350845_reload_new_plugins.patch (+30/-29)
To merge this branch: bzr merge lp:~micahg/firefox/firefox-3.6-20091008
Reviewer Review Type Date Requested Status
Alexander Sack (community) Approve
Review via email: mp+13108@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Micah Gersten (micahg) wrote :

Compiled in my ppa

Revision history for this message
Alexander Sack (asac) wrote :

also merged. thx a lot!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-09-16 05:57:54 +0000
3+++ debian/changelog 2009-10-09 06:35:19 +0000
4@@ -1,4 +1,4 @@
5-firefox-3.6 (3.6~a2~hg20090915r31768+nobinonly-0ubuntu1) UNRELEASED; urgency=low
6+firefox-3.6 (3.6~b1~hg20091008r32386+nobinonly-0ubuntu1) UNRELEASED; urgency=low
7
8 [ H. Montoliu <hmontoliu@ubuntu.com> ]
9 * fix LP: #361052 - firefox apport hook fails to retrieve pluginreg.dat file
10@@ -136,7 +136,7 @@
11 - update debian/patches/browser_branding.patch
12 - update debian/patches/bzXXX_moz_app_name_inconsistencies.patch
13
14- -- Micah Gersten <launchpad@micahscomputing.com> Wed, 16 Sep 2009 00:43:11 -0500
15+ -- Micah Gersten <launchpad@micahscomputing.com> Thu, 08 Oct 2009 23:40:03 -0500
16
17 firefox-3.1 (3.1~b3~hg20081221r22451+nobinonly-0ubuntu1) UNRELEASED; urgency=low
18
19
20=== modified file 'debian/patches/bz460917_att350845_reload_new_plugins.patch'
21--- debian/patches/bz460917_att350845_reload_new_plugins.patch 2008-12-22 11:55:22 +0000
22+++ debian/patches/bz460917_att350845_reload_new_plugins.patch 2009-10-09 06:35:19 +0000
23@@ -6,7 +6,7 @@
24 ===================================================================
25 --- mozilla.orig/browser/base/content/browser.js
26 +++ mozilla/browser/base/content/browser.js
27-@@ -5780,22 +5780,30 @@
28+@@ -5900,22 +5900,30 @@
29 }
30
31 missingPluginInstaller.prototype.installSinglePlugin = function(aEvent){
32@@ -37,7 +37,35 @@
33 aEvent.stopPropagation();
34 }
35
36-@@ -5897,37 +5905,50 @@
37+@@ -5981,21 +5989,27 @@
38+ var url = formatter.formatURLPref("plugins.update.url");
39+ gBrowser.loadOneTab(url, {inBackground: false});
40+ return true;
41+ }
42+
43+ function showPluginsMissing() {
44+ // get the urls of missing plugins
45+ var missingPluginsArray = gBrowser.selectedBrowser.missingPlugins;
46++ gBrowser.selectedBrowser.addEventListener("NewPluginInstalled",
47++ gMissingPluginInstaller.refreshBrowser,
48++ false);
49+ if (missingPluginsArray) {
50+ window.openDialog("chrome://mozapps/content/plugins/pluginInstallerWizard.xul",
51+ "PFSWindow", "chrome,centerscreen,resizable=yes",
52+ {plugins: missingPluginsArray, browser: gBrowser.selectedBrowser});
53+ }
54++ gBrowser.selectedBrowser.removeEventListener("NewPluginInstalled",
55++ gMissingPluginInstaller.refreshBrowser,
56++ false);
57+ }
58+
59+ if (aEvent.type == "PluginBlocklisted") {
60+ if (blockedNotification || missingNotification)
61+ return;
62+
63+ let iconURL = "chrome://mozapps/skin/plugins/pluginBlocked-16.png";
64+ let messageString = gNavigatorBundle.getString("blockedpluginsMessage.title");
65+@@ -6074,16 +6088,23 @@
66
67 // clear the plugin list, now that at least one plugin has been installed
68 browser.missingPlugins = null;
69@@ -56,35 +84,8 @@
70 browser.reload();
71 }
72
73- function blocklistInfo()
74- {
75- var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
76- .getService(Components.interfaces.nsIURLFormatter);
77- var url = formatter.formatURLPref("extensions.blocklist.detailsURL");
78- gBrowser.loadOneTab(url, null, null, null, false, false);
79- return true;
80- }
81-
82- function pluginsMissing()
83- {
84- // get the urls of missing plugins
85- var missingPluginsArray = gBrowser.selectedBrowser.missingPlugins;
86-+ gBrowser.selectedBrowser.addEventListener("NewPluginInstalled",
87-+ gMissingPluginInstaller.refreshBrowser,
88-+ false);
89- if (missingPluginsArray) {
90- window.openDialog("chrome://mozapps/content/plugins/pluginInstallerWizard.xul",
91- "PFSWindow", "chrome,centerscreen,resizable=yes",
92- {plugins: missingPluginsArray, browser: gBrowser.selectedBrowser});
93- }
94-+ gBrowser.selectedBrowser.removeEventListener("NewPluginInstalled",
95-+ gMissingPluginInstaller.refreshBrowser,
96-+ false);
97- }
98-
99 var gMissingPluginInstaller = new missingPluginInstaller();
100
101 function convertFromUnicode(charset, str)
102 {
103 try {
104- var unicodeConverter = Components

Subscribers

People subscribed via source and target branches