summaryrefslogtreecommitdiffstats
path: root/main/firefox
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-18 01:37:37 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-18 01:37:37 -0500
commit666fcc262b9181a7abefdd4c2caeb4bd859cf71b (patch)
tree9ea52bb851834f15fd862c9015ed9de52136bd37 /main/firefox
parentaf6da52dc2893b7708e2dbdcb2e33540e618e512 (diff)
downloadaports-666fcc262b9181a7abefdd4c2caeb4bd859cf71b.tar.bz2
aports-666fcc262b9181a7abefdd4c2caeb4bd859cf71b.tar.xz
main/firefox: add world's crummiest statusbar
Diffstat (limited to 'main/firefox')
-rw-r--r--main/firefox/APKBUILD4
-rw-r--r--main/firefox/firefox-restore-status-bar.patch37
2 files changed, 40 insertions, 1 deletions
diff --git a/main/firefox/APKBUILD b/main/firefox/APKBUILD
index 3618aea8d..f5167f423 100644
--- a/main/firefox/APKBUILD
+++ b/main/firefox/APKBUILD
@@ -4,7 +4,7 @@ pkgname=firefox
pkgver=4.0_rc1
_pkgver=4.0rc1
_xulver=2.0_rc1
-pkgrel=1
+pkgrel=2
pkgdesc="firefox web browser (unofficial branding)"
url="http://www.firefox.com"
arch="all"
@@ -46,6 +46,7 @@ source="http://releases.mozilla.org/pub/mozilla.org/${pkgname}/releases/${pkgver
mozconfig
firefox-restore-fx3-tab-behaviour-as-default.patch
+ firefox-restore-status-bar.patch
firefox-defaults.patch
firefox-version.patch
@@ -93,6 +94,7 @@ package() {
md5sums="511828dcc226f38602c6c67bd192ef40 firefox-4.0rc1.source.tar.bz2
d1ec45f9d953a868483094cce2b3eff5 mozconfig
7cddbb1c76b9038ad1d85311dda81c95 firefox-restore-fx3-tab-behaviour-as-default.patch
+a153133cfe74ce269e1e80925e48544c firefox-restore-status-bar.patch
475a0870730c88f48158a4d4ca9812d0 firefox-defaults.patch
0e296aabf8c2b5fd5ef5b3a989bab03a firefox-version.patch
ba96924ece1d77453e462429037a2ce5 firefox.desktop
diff --git a/main/firefox/firefox-restore-status-bar.patch b/main/firefox/firefox-restore-status-bar.patch
new file mode 100644
index 000000000..f492abb59
--- /dev/null
+++ b/main/firefox/firefox-restore-status-bar.patch
@@ -0,0 +1,37 @@
+--- mozilla-2.0.orig/browser/base/content/browser.xul
++++ mozilla-2.0/browser/base/content/browser.xul
+@@ -992,12 +992,18 @@
+ contentcontextmenu="contentAreaContextMenu"
+ autocompletepopup="PopupAutoComplete"
+ onclick="return contentAreaClick(event, false);"/>
+- <statuspanel id="statusbar-display" label=""/>
+ </vbox>
+ <vbox id="browser-border-end" hidden="true" layer="true"/>
+ </hbox>
+
+ <vbox id="browser-bottombox" layer="true">
++ <statusbar id="status-bar" ordinal="1000"
++#ifdef WINCE
++ hidden="true"
++#endif
++ class="chromeclass-status">
++ <statusbarpanel id="statusbar-display" label=""/>
++ </statusbar>
+ <toolbar id="addon-bar"
+ toolbarname="&addonBarCmd.label;" accesskey="&addonBarCmd.accesskey;"
+ collapsed="true"
+@@ -1005,13 +1011,12 @@
+ context="toolbar-context-menu" toolboxid="navigator-toolbox"
+ mode="icons" iconsize="small" defaulticonsize="small"
+ lockiconsize="true"
+- defaultset="addonbar-closebutton,spring,status-bar"
++ defaultset="addonbar-closebutton,spring"
+ customizable="true"
+ key="key_toggleAddonBar">
+ <toolbarbutton id="addonbar-closebutton"
+ tooltiptext="&addonBarCloseButton.tooltip;"
+ oncommand="setToolbarVisibility(this.parentNode, false);"/>
+- <statusbar id="status-bar" ordinal="1000"/>
+ </toolbar>
+ </vbox>
+