svn commit: r503205 - in head/www/firefox: . files
Jan Beich
jbeich at FreeBSD.org
Sat Jun 1 00:46:25 UTC 2019
Author: jbeich
Date: Sat Jun 1 00:46:23 2019
New Revision: 503205
URL: https://svnweb.freebsd.org/changeset/ports/503205
Log:
www/firefox: unbreak language selection after r495403
PR: 221916
Added:
head/www/firefox/files/patch-bug1554744 (contents, props changed)
Modified:
head/www/firefox/Makefile (contents, props changed)
Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile Sat Jun 1 00:46:13 2019 (r503204)
+++ head/www/firefox/Makefile Sat Jun 1 00:46:23 2019 (r503205)
@@ -3,6 +3,7 @@
PORTNAME= firefox
DISTVERSION= 67.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
Added: head/www/firefox/files/patch-bug1554744
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/firefox/files/patch-bug1554744 Sat Jun 1 00:46:23 2019 (r503205)
@@ -0,0 +1,30 @@
+commit f8d21e08c1e4
+Author: Gijs Kruitbosch <gijskruitbosch at gmail.com>
+Date: Fri May 31 13:55:56 2019 +0000
+
+ Bug 1554744 - make button state in browser language dialog correct when there's no available languages, r=johannh
+
+ Differential Revision: https://phabricator.services.mozilla.com/D33273
+
+ --HG--
+ extra : moz-landing-system : lando
+---
+ browser/components/preferences/browserLanguages.js | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git browser/components/preferences/browserLanguages.js browser/components/preferences/browserLanguages.js
+index f8bae44b52c9..4c39f55fdafd 100644
+--- browser/components/preferences/browserLanguages.js
++++ browser/components/preferences/browserLanguages.js
+@@ -78,9 +78,9 @@ class OrderedListBox {
+ setButtonState() {
+ let {upButton, downButton, removeButton} = this;
+ let {selectedIndex, itemCount} = this.richlistbox;
+- upButton.disabled = selectedIndex == 0;
++ upButton.disabled = selectedIndex <= 0;
+ downButton.disabled = selectedIndex == itemCount - 1;
+- removeButton.disabled = itemCount == 1 || !this.selectedItem.canRemove;
++ removeButton.disabled = itemCount <= 1 || !this.selectedItem.canRemove;
+ }
+
+ moveUp() {
More information about the svn-ports-all
mailing list