[Pkg-mozext-commits] [tabmixplus] 61/147: Don't set 'unloaded' style to blank pinned tabs
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:27:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit aefb45bc0397ccbe2f7fc6d2ccb5ac3ded6e40de
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Dec 10 20:59:39 2016 +0200
Don't set 'unloaded' style to blank pinned tabs
---
chrome/content/links/userInterface.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/links/userInterface.js b/chrome/content/links/userInterface.js
index 191c7c7..506c8f0 100644
--- a/chrome/content/links/userInterface.js
+++ b/chrome/content/links/userInterface.js
@@ -332,7 +332,7 @@ Tabmix.setTabStyle = function(aTab, boldChanged) {
// if pending tab is blank we don't style it as unload or unread
if (!isSelected && Tabmix.prefs.getBoolPref("unloadedTab") &&
(aTab.hasAttribute("pending") || aTab.hasAttribute("tabmix_pending"))) {
- style = aTab.hasAttribute("visited") ||
+ style = aTab.pinned || aTab.hasAttribute("visited") ||
TMP_SessionStore.isBlankPendingTab(aTab) ? "other" : "unloaded";
} else if (!isSelected && Tabmix.prefs.getBoolPref("unreadTab") &&
!aTab.hasAttribute("visited") && !isTabEmpty(aTab)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list